Parquet File Reader (read/read_impl.rs)

polars · crates/polars-io/src/parquet/read/read_impl.rs · rust · MIT
database, analytics, lang:rust, tag:parquet, tag:data

High-performance Rust implementation for reading and processing Parquet data files. Use this for efficient data ingestion and analytics workflows in Rust applications.

// Source: https://github.com/pola-rs/polars | License: MIT | Copyright 2025 Ritchie Vink
// Provided via justclaw.it.com; keep this notice with the code.
use std::borrow::Cow;

use polars_arrow::bitmap::Bitmap;
use polars_arrow::datatypes::ArrowSchemaRef;
use polars_buffer::Buffer;
use polars_core::chunked_array::builder::NullChunkedBuilder;
use polars_core::config;
use polars_core::prelude::*;
use polars_core::runtime::RAYON;
use polars_core::series::IsSorted;
use polars_core::utils::accumulate_dataframes_vertical;
use polars_parquet::read::{self, ColumnChunkMetadata, FileMetadata, Filter, RowGroupMetadata};
use rayon::prelude::*;

use super::mmap::mmap_columns;
use super::utils::{canonicalize_parquet_maps, materialize_empty_df};
use super::{ParallelStrategy, mmap};
use crate::RowIndex;


... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key