Expand description
Add or remove view partitions
Structs§
- Partition
RowSet - A set of rows for a partition, along with their time range.
- RowSet
Tracking Result - Result of
write_rows_and_track_times: the partition’s event time range, alongside the foldedmax_sort_key_time.pubbecausewrite_rows_and_track_timesis itselfpuband is called fromrust/analytics/tests/, which compiles as an external crate.
Enums§
- Retire
Match - Which SQL predicate
retire_partitionsuses to find partitions to replace.
Functions§
- add_
file_ for_ cleanup - Adds a file to the temporary_files table for cleanup.
- insert_
partition - Inserts a partition into
lakehouse_partitions, retiring whateverretire_matchsays it replaces first. - retire_
expired_ partitions - retire_
partitions - Retires partitions from the active set.
- write_
partition_ from_ rows - Writes a partition to a Parquet file from a stream of
PartitionRowSets. - write_
rows_ and_ track_ times - Writes rows from the stream and tracks event time ranges.