pub struct FileFacts {Show 17 fields
pub path: String,
pub size_bytes: u64,
pub rows: i64,
pub row_groups: usize,
pub columns: usize,
pub row_group_rows: Vec<i64>,
pub column_bytes: i64,
pub footer_bytes: i64,
pub metadata_bytes: i64,
pub row_group_bytes: Vec<i64>,
pub lookup_reads_typical: i64,
pub lookup_reads_worst: i64,
pub created_by: Option<String>,
pub format_version: i32,
pub compressions: Vec<String>,
pub encodings: Vec<String>,
pub key_value_metadata: Vec<Value>,
}Expand description
What the footer says about the file as a whole.
Fields§
§path: StringThe path, as it was given.
size_bytes: u64How many bytes the file is.
rows: i64How many rows it holds.
row_groups: usizeHow many row groups it has.
columns: usizeHow many leaf columns it has.
row_group_rows: Vec<i64>How many rows each row group holds.
column_bytes: i64The bytes the column chunks take.
The bytes after the data: the metadata, the page index, and the magic. This is what a reader fetches before it can read anything.
metadata_bytes: i64The bytes the metadata itself takes (the tail of the file).
row_group_bytes: Vec<i64>The bytes each row group takes.
lookup_reads_typical: i64What one lookup reads, typically: the footer plus one row group.
lookup_reads_worst: i64What one lookup reads at worst: the footer plus the largest row group.
created_by: Option<String>Who wrote the file.
format_version: i32The Parquet format version.
compressions: Vec<String>The compressions the columns use.
encodings: Vec<String>The encodings the pages use.
key_value_metadata: Vec<Value>The key-value metadata the writer left behind.