Expand description
Row version tracking for cross-version diff functionality
This module provides data structures and functionality to track the latest update version for each row in a Lance dataset, enabling efficient cross-version diff operations.
Structs§
- RowDataset
Version Run - A run of identical versions over a contiguous span of row positions.
- RowDataset
Version Sequence - Sequence of dataset versions
- Versions
Iter - Iterator over versions expanding runs lazily.
Enums§
- RowDataset
Version Meta - Metadata about the location of dataset version sequence data Following the same pattern as RowIdMeta
Functions§
- build_
version_ meta - Build version metadata for a fragment if it has physical rows and no existing metadata.
- created_
at_ version_ meta_ to_ pb - Helper function to convert RowDatasetVersionMeta to protobuf format for created_at
- last_
updated_ at_ version_ meta_ to_ pb - Helper function to convert RowDatasetVersionMeta to protobuf format for last_updated_at
- read_
dataset_ versions - Deserialize a dataset version sequence from bytes (following RowIdSequence pattern)
- rechunk_
version_ sequences - Re-chunk a sequence of dataset version runs into new chunk sizes (aligned with RowIdSequence rechunking)
- refresh_
row_ latest_ update_ meta_ for_ full_ frag_ rewrite_ cols - Refresh row-level latest update version metadata for a full fragment rewrite-column update.
- refresh_
row_ latest_ update_ meta_ for_ partial_ frag_ rewrite_ cols - Refresh row-level latest update version metadata for a partial fragment rewrite-column update.
- write_
dataset_ versions - Serialize a dataset version sequence to a buffer (following RowIdSequence pattern)