Expand description
SST in parquet format.
Modulesยง
- file_
range - Structs and functions for reading ranges from a parquet file. A file range is usually a row group in a parquet file.
- flat_
format - Format to store in parquet.
- format
- Format to store in parquet.
- helper ๐
- json_
align ๐ - Shared JSON2 conversion for Parquet streams and in-memory query batches. Query types must agree before merge/dedup; compaction Rewrite retains physical layouts.
- metadata
- parallel_
writer - Arrow to Parquet writer that encodes the columns of a row group in parallel.
- prefilter
- Prefilter framework for parquet reader.
- push_
decoder - Push decoder stream implementation for SST parquet files.
- read_
columns - reader
- Parquet reader.
- row_
group - Parquet row group reading utilities.
- row_
selection - stats ๐
- Statistics of parquet SSTs.
- writer
- Parquet writer.
Structsยง
- Json2
Target ๐Layout - Fixed JSON2 physical layout used while rewriting compaction input.
- RowGroup
Value Bytes - Tracks, over the row groups of a file, the largest var_len_value_bytes of a row group and
the largest of those bytes per row. Row groups are cut every
row_group_rowsrows from the start of the file like the parquet writers do; the last one may be shorter. - SstInfo
- Parquet SST info returned by the writer.
- Write
Options - Parquet write options.
Constantsยง
- COLUMN_
INDEX_ ๐TRUNCATE_ LENGTH - Truncation length of min/max values in the parquet column index.
- DEFAULT_
READ_ ๐BATCH_ SIZE - Default batch size to read parquet files.
- DEFAULT_
ROW_ GROUP_ SIZE - Default row group size for parquet files.
- LARGE_
VALUE_ ๐STATS_ THRESHOLD - Values at least this long make min/max statistics of a field column useless for pruning, while untruncated statistics copy two whole values per row group into the footer.
- MAX_
ROW_ GROUP_ VALUE_ BYTES_ KEY - Footer key holding the decoded bytes of string and binary values in the row group with the most such bytes.
- MAX_
ROW_ VALUE_ WIDTH_ KEY - Footer key holding the largest average decoded bytes of string and binary values per row within one row group.
- PARQUET_
METADATA_ KEY - Key of metadata in parquet SST.
- TARGET_
ROW_ ๐GROUP_ BYTES - Average uncompressed bytes in one row group that row_group_size_for aims at.
Functionsยง
- apply_
column_ ๐compression - Applies the per-column options declared with
COMPRESSION WITH (...). - apply_
float_ ๐field_ encoding - Applies the configured encoding to direct floating-point field columns.
- apply_
internal_ ๐column_ encoding - Applies the encodings of the time index and internal columns shared by every SST writer.
- decoded_
input_ ๐size - Returns the rows and the decoded bytes of the SSTs with
footers, for row_group_size_for. - footer_
u64 ๐ - Returns the value of
key, orNonewhen the footer has no parseable value for it. - large_
value_ ๐fields - Returns string and binary field columns whose longest value in
batchreaches LARGE_VALUE_STATS_THRESHOLD. - max_
row_ group_ decoded_ size - Returns the size of the largest row group of
metadata, counting string and binary values at their decoded size (see max_row_group_value_bytes). - max_
row_ ๐group_ uncompressed_ size - Returns the uncompressed size of the largest row group of
metadata, summed over its column chunks. - max_
row_ ๐group_ value_ bytes - Returns the MAX_ROW_GROUP_VALUE_BYTES_KEY value of the footer, or the same quantity derived from the column chunk size statistics when the footer predates the key.
- max_
row_ ๐value_ width - Returns the MAX_ROW_VALUE_WIDTH_KEY value of the footer, or the same quantity derived from the column chunk size statistics when the footer predates the key.
- row_
group_ ๐size_ for - Returns the row group size for data of
rowsrows andbytesuncompressed bytes. - row_
group_ ๐value_ bytes_ from_ size_ statistics - Returns
(num_rows, value_bytes)of each row group, wherevalue_bytessums theunencoded_byte_array_data_bytessize statistic of the column chunks that var_len_value_bytes counts: top-level string and binary columns that readers do not decode as dictionaries. - skip_
statistics ๐ - Disables min/max statistics of
columns. - var_
len_ ๐value_ bytes - Returns the bytes of string and binary values in
batchonce decoded.
Type Aliasesยง
- Json2
Rewrite ๐Targets - JSON2 physical layouts requested by a compaction read.