Skip to main content

Module feature_flags

Module feature_flags 

Source
Expand description

Feature flags

Constants§

ENABLE_UNSTABLE_DATA_OVERLAY_FILES_ENV
Environment variable that opts a release build into reading and writing data overlay files before the feature is generally released.
FLAG_BASE_PATHS
Dataset uses multiple base paths (for shallow clones or multi-base datasets)
FLAG_DELETION_FILES
Fragments may contain deletion files, which record the tombstones of soft-deleted rows.
FLAG_DISABLE_TRANSACTION_FILE
Disable writing transaction file under _transaction/, this flag is set when we only want to write inline transaction in manifest
FLAG_STABLE_ROW_IDS
Row ids are stable for both moves and updates. Fragments contain an index mapping row ids to row addresses.
FLAG_TABLE_CONFIG
Table config is present
FLAG_UNKNOWN
The first bit that is unknown as a feature flag
FLAG_UNSTABLE_DATA_OVERLAY_FILES
Fragments contain data overlay files, which supply new values for a subset of cells without rewriting base data files. A reader that does not understand overlays must refuse the dataset, since ignoring an overlay would silently return stale base values.
FLAG_USE_V2_FORMAT_DEPRECATED
Files are written with the new v2 format (this flag is no longer used)

Functions§

apply_feature_flags
Set the reader and writer feature flags in the manifest based on the contents of the manifest.
can_read_dataset
can_write_dataset
has_deprecated_v2_feature_flag