This crate contains the official Native Rust implementation of Apache Parquet, which is part of the Apache Arrow project.
Example usage of reading data:
```rust use std::fs::File; use std::path::Path; use parquet::file::reader::{FileReader, SerializedFileReader};
let file = File::open(&Path::new("/path/to/file")).unwrap(); let reader = SerializedFileReader::new(file).unwrap(); let mut iter = reader.getrowiter(None).unwrap(); while let Some(record) = iter.next() { println!("{}", record); } ```
For an example of reading to Arrow arrays, please see here
See crate documentation for the full API.
This crate is tested with the latest stable version of Rust. We do not currrently test against other, older versions of the Rust compiler.
To update Parquet format to a newer version, check if parquet-format
version is available. Then simply update version of parquet-format
crate in Cargo.toml.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0.