Module version

Module version 

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

RowDatasetVersionRun
A run of identical versions over a contiguous span of row positions.
RowDatasetVersionSequence
Sequence of dataset versions
VersionsIter
Iterator over versions expanding runs lazily.

Enums§

RowDatasetVersionMeta
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)