Expand description
Format to store in parquet.
We store three internal columns in parquet:
__primary_key
, the primary key of the row (tags). Type: dictionary(uint32, binary)__sequence
, the sequence number of a row. Type: uint64__op_type
, the op type of the row. Type: uint8
The schema of a parquet file is:
field 0, field 1, ..., field N, time index, primary key, sequence, op type
We stores fields in the same order as RegionMetadata::field_columns().
Structsยง
- Read
Format - Helper for reading the SST format.
- Write
Format ๐ - Helper for writing the SST format.
Enumsยง
- Stat
Values - Values of column statistics of the SST.
Constantsยง
- FIXED_
POS_ ๐COLUMN_ NUM - Number of columns that have fixed positions.
Functionsยง
- new_
primary_ ๐key_ array - Creates a new array for specific
primary_key
. - parquet_
row_ ๐group_ time_ range - Gets the min/max time index of the row group from the parquet meta. It assumes the parquet is created by the mito engine.
- primary_
key_ ๐offsets - Compute offsets of different primary keys in the array.
Type Aliasesยง
- Primary
KeyArray ๐ - Arrow array type for the primary key dictionary.