mito2::sst::parquet

Module format

Source
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§

Constants§

Functions§

Type Aliases§