diff --git a/docs/src/format/index/index.md b/docs/src/format/index/index.md index c1e4448deab..f23ba42a92a 100644 --- a/docs/src/format/index/index.md +++ b/docs/src/format/index/index.md @@ -54,7 +54,7 @@ Each segment is an independent, self-contained index covering a subset of the da Each index segment covers a disjoint subset of fragments in the dataset. The segments must cover all rows in the fragments they cover, with one exception: if a fragment has delete markers at the time of index creation, the index segment is allowed to not contain the deleted rows. The fragments an index -covers are those recorded in the `fragment_bitmap` field. +covers are the committed fragment IDs recorded in the `fragment_bitmap` field. Index segments together **do not** need to cover all fragments. This means an index isn't required to be fully up-to-date. When this happens, engines can split their queries into indexed and unindexed @@ -104,7 +104,10 @@ Index segments are created and updated through a transactional process: may appear in both lists when the index carries a value it is also keyed on. Empty for an index that carries no extra columns. Declaring a column here does not by itself make it servable -- see [Serving carried columns](#serving-carried-columns). - - `fragment_bitmap`: The set of fragment IDs covered by this segment + - `fragment_bitmap`: The committed fragment IDs covered by this segment + - `local_fragment_aliases`: fragment IDs referenced by the segment's files, mapped + to committed fragment IDs. An empty map means no mapping + (see [Local fragment aliases](#local-fragment-aliases)). - `index_details`: Index-specific configuration and parameters - `version`: The format version of this index type - See the full protobuf definition in [table.proto](https://github.com/lance-format/lance/blob/main/protos/table.proto). @@ -229,7 +232,10 @@ The `IndexMetadata` message contains important information about the index segme authoritative for what the segment can serve -- see [Serving carried columns](#serving-carried-columns) and the legacy interpretation under [Covering-field contracts](#covering-field-contracts). -- `fragment_bitmap`: the set of fragment IDs covered by this index segment. +- `fragment_bitmap`: the committed fragment IDs covered by this index segment. +- `local_fragment_aliases`: fragment IDs referenced by the segment's files, mapped + to committed fragment IDs. An empty map means no mapping + (see [Local fragment aliases](#local-fragment-aliases)). - `index_details`: a protobuf `Any` message that contains index-specific details, such as index type, parameters, and storage format. This allows different index types to store their own metadata. @@ -246,6 +252,50 @@ There are both part of the `table.proto` file in the Lance source code. +### Local fragment aliases + +`IndexMetadata.local_fragment_aliases` (field 14) translates fragment IDs +referenced by a segment's files so a commit retry can reuse prepared index +files when fragment allocation changes. An empty map means no mapping. An +entry `{17: 42}` maps fragment 17 to 42, and any unmapped fragment ID keeps +its original ID. Translation is not transitive: with `{17: 42, 42: 43}`, +stored 17 resolves to 42, not 43. + +The map applies to fragment IDs referenced by the segment's files. +Apply it once, before any later transformation, including +[Fragment Reuse Index (FRI)](system/frag_reuse.md) remap. A physical row +address keeps its 32-bit row offset. Stable logical row IDs and user column +values are unchanged. With entry `17 -> 42` and FRI translation +`(42, 5) -> (60, 3)`, stored address `(17, 5)` resolves to `(60, 3)`. +Retargeting the map directly to fragment 60 would lose the row offset change. + +A segment whose files store stable row IDs must not carry local fragment +aliases. A commit retry can reassign row IDs as well as fragment IDs, and the +map cannot translate row IDs. + +`fragment_bitmap` must hold committed dataset fragment IDs, not local IDs. +When a commit or rebase changes the committed ID of a fragment referenced +through `local_fragment_aliases`, it must update `fragment_bitmap` and the +aliases together. The index files do not need to be rewritten. For example, +local fragment 17 committing as dataset fragment 42 records +`local_fragment_aliases: {17: 42}` and `fragment_bitmap: {42}`. If conflict +resolution rebases that fragment to 43, the manifest updates to +`local_fragment_aliases: {17: 43}` and `fragment_bitmap: {43}`. + +Operations that retain index files must retain their aliases. Index rewrites +and merges must resolve aliases before writing replacement files. + +Keys and values must be less than `2^32 - 1`. `u32::MAX` (`2^32 - 1`) is +reserved for `RowAddress::TOMBSTONE_FRAG`. Two stored fragment IDs in the same +segment must not resolve to the same final fragment ID. `{17: 42}` is invalid +when the segment also stores 42 and leaves 42 unmapped. + +A nonempty map requires `FLAG_LOCAL_FRAGMENT_ALIASES` (`2^20`) in both reader +and writer [feature flags](../table/versioning.md#feature-flags). Both bits +are set while any retained segment has a nonempty map, including when +`fragment_bitmap` is empty, and cleared when none do. The flag is reserved. +Readers and writers reject it until alias support lands. + ### Index Segment Metadata Like `Manifest.table_metadata`, `IndexMetadata.metadata` is a `map` diff --git a/docs/src/format/table/versioning.md b/docs/src/format/table/versioning.md index a50a18694ec..f64b8359455 100644 --- a/docs/src/format/table/versioning.md +++ b/docs/src/format/table/versioning.md @@ -39,13 +39,14 @@ they should return an "unsupported" error on any read or write operation. | `2^13` | `FLAG_INDEPENDENT_COVERING_FIELDS` | Yes | Yes | Requires `FLAG_COVERED_INDEX_METADATA` and is retained together with it. `IndexMetadata.fields` contains only key fields, while `covering_fields` independently declares carried fields and may overlap `fields`. Implementations that only support the legacy suffix contract must reject the dataset. | | `2^14` | `FLAG_MANAGED_BLOBS` | Yes | Yes | Blob descriptors independently address owned objects. Readers resolve the descriptor's base and path; cleanup preserves objects referenced by protected snapshots, independently of the original data file. Both bits remain set on later versions, including restores. See [Blob v2 capability and compatibility](blob.md#capability-and-compatibility). | | `2^15` | `FLAG_NON_REUSABLE_FIELD_IDS` | No | Yes | The manifest sets `max_allocated_field_id`, and a writer must assign new field IDs above it. Before activation, all clients that can write to the dataset must enforce writer feature flags. See [Field IDs](schema.md#field-ids). | -| `2^16` | `FLAG_ZONE_WRITE_SEEDS` | Yes | Yes | Referenced data files contain version 1 [zone write seeds](../index/scalar/zone_write_seeds.md). Both bits remain set in derived snapshots, including clone and restore. Reserved and unsupported until implemented. | -| `2^17` | `FLAG_OBJECT_METADATA` | No | Yes | The snapshot contains [clustering definitions, references, or a nonzero allocation high-water mark](clustering.md), nonempty [fragment metadata](index.md#fragment-metadata), or nonempty [index segment metadata](../index/index.md#index-segment-metadata). Reserved, unsupported until writers implement the maintenance rules. Readers may ignore this metadata. | +| `2^16` | `FLAG_ZONE_WRITE_SEEDS` | Yes | Yes | Referenced data files contain version 1 [zone write seeds](../index/scalar/zone_write_seeds.md). Both bits remain set in derived snapshots, including clone and restore. | +| `2^17` | `FLAG_OBJECT_METADATA` | No | Yes | The snapshot contains [clustering definitions, references, or a nonzero allocation high-water mark](clustering.md), nonempty [fragment metadata](index.md#fragment-metadata), or nonempty [index segment metadata](../index/index.md#index-segment-metadata). Readers may ignore this metadata. | | `2^18` | `FLAG_ROW_ADDR_INDICES` | No | Yes | A stable-row-ID table contains an index that stores physical row addresses. Older writers could treat its entries as stable row IDs and silently extend coverage without indexing rewritten fragments. | | `2^19` | `FLAG_INLINE_DELETIONS` | Yes | Yes | Some fragment stores its deletion vector in the manifest (`DeletionFile.inline`) rather than in a file under `_deletions/`. A reader without this flag would look for a file that does not exist. | +| `2^20` | `FLAG_LOCAL_FRAGMENT_ALIASES` | Yes | Yes | An index segment may set `IndexMetadata.local_fragment_aliases` to translate fragment IDs stored in its files. `fragment_bitmap` stores the committed fragment IDs. Both bits are set while any retained segment has a nonempty map, including when `fragment_bitmap` is empty, and both are cleared when none do. Unsupported until readers and index maintenance implement aliases. See [Local fragment aliases](../index/index.md#local-fragment-aliases). | -Bits 16 and 17 are reserved but remain unsupported. Bits at positions 20 and above are unknown. Unknown or unsupported flags cause implementations to reject the corresponding read or write operation with an "unsupported" error. The paired mixed-version, Managed Blob, and zone write-seed reader and writer bits must each either both be set or both be clear; a half-set manifest is invalid. +Bits 12 and 20 are reserved and remain unsupported. Bits 13, 16, and 17 are supported. Bits at positions 21 and above are unknown. Unknown or unsupported flags cause implementations to reject the corresponding read or write operation with an "unsupported" error. The paired mixed-version, Managed Blob, zone write-seed, and local fragment alias reader and writer bits must each either both be set or both be clear. A half-set manifest is invalid. Committing schema metadata `lance.blob.managed = "true"` activates the Managed Blob capability, even without new blob files. Ordinary Blob v2 writes without this opt-in do not activate it. Once activated, removing the opt-in, removing Blob fields, or restoring an older snapshot does not clear it. Before activation, all maintenance clients must support Managed Blobs: the flag cannot revoke old handles or prevent older clients from running cleanup through an unflagged historical snapshot. See [client compatibility](../../guide/blob.md#managed-objects-and-client-compatibility). diff --git a/protos/table.proto b/protos/table.proto index 6b99dbbfb18..5bfacaf47c7 100644 --- a/protos/table.proto +++ b/protos/table.proto @@ -370,6 +370,10 @@ message IndexMetadata { uint64 dataset_version = 4; /* A bitmap of the included fragment ids. + * + * Stores committed dataset fragment IDs, not local IDs stored inside index + * files. When `local_fragment_aliases` is used, a commit or rebase updates + * this bitmap and the aliases together without rewriting the index files. * * This may by used to determine how much of the dataset is covered by the * index. This information can be retrieved from the dataset by looking at @@ -459,6 +463,26 @@ message IndexMetadata { * inherit entries automatically. Requires writer flag 1 << 17 while nonempty. */ map metadata = 13; + + /* Sparse map from fragment IDs stored in this segment's files to committed + * fragment IDs. An empty map means no mapping. Unmapped IDs keep their + * value. Each stored ID is translated once. + * + * Applies to every fragment ID referenced by the segment's files, such as the + * fragment half of a physical row address or a zone's fragment ID. A row + * address keeps its row offset. Stable logical row IDs and user column values + * are not translated. + * + * Keys and values must be less than 2^32 - 1. u32::MAX (2^32 - 1) is + * reserved for RowAddress::TOMBSTONE_FRAG. Two referenced fragment IDs must + * not resolve to the same final fragment ID. + * + * Requires flag 1 << 20 (FLAG_LOCAL_FRAGMENT_ALIASES) in both reader and + * writer feature flags while nonempty. Both bits are cleared when no + * retained segment has a nonempty map. Reserved until readers and index + * maintenance support aliases. + */ + map local_fragment_aliases = 14; } // Metadata about a single file within an index segment. diff --git a/rust/lance-table/src/feature_flags.rs b/rust/lance-table/src/feature_flags.rs index fd291ba2430..a4c398e8d23 100644 --- a/rust/lance-table/src/feature_flags.rs +++ b/rust/lance-table/src/feature_flags.rs @@ -136,8 +136,13 @@ pub const FLAG_ROW_ADDR_INDICES: u64 = 1 << 18; /// (`DeletionFile.inline`) rather than in a file under `_deletions/`. A reader /// without this flag would look for a file that does not exist. pub const FLAG_INLINE_DELETIONS: u64 = 1 << 19; +/// Reserved for local fragment aliases (`IndexMetadata.local_fragment_aliases`). +/// Both reader and writer bits are required while any retained index segment +/// has aliases. The flag is non-sticky and unsupported until reader and +/// index maintenance support lands. +pub const FLAG_LOCAL_FRAGMENT_ALIASES: u64 = 1 << 20; /// The first bit that is unknown as a feature flag -pub const FLAG_UNKNOWN: u64 = 1 << 20; +pub const FLAG_UNKNOWN: u64 = 1 << 21; const _: () = assert!(FLAG_COVERED_INDEX_METADATA < FLAG_UNKNOWN); // The fence needs a bit the current released build already refuses, which means @@ -158,6 +163,7 @@ const _: () = assert!(FLAG_ZONE_WRITE_SEEDS < FLAG_UNKNOWN); const _: () = assert!(FLAG_OBJECT_METADATA < FLAG_UNKNOWN); const _: () = assert!(FLAG_ROW_ADDR_INDICES < FLAG_UNKNOWN); const _: () = assert!(FLAG_INLINE_DELETIONS < FLAG_UNKNOWN); +const _: () = assert!(FLAG_LOCAL_FRAGMENT_ALIASES < FLAG_UNKNOWN); pub(crate) const STICKY_PAIRED_FLAGS: u64 = FLAG_MIXED_DATA_FILE_VERSIONS | FLAG_FRAGMENT_REUSE_INDEX @@ -566,6 +572,7 @@ fn supported_flags_when( ); // Reserved, not implemented: see the flag's doc comment. mark_supported(&mut supported, FLAG_FRAGMENT_TREE, false); + mark_supported(&mut supported, FLAG_LOCAL_FRAGMENT_ALIASES, false); mark_supported(&mut supported, FLAG_ZONE_WRITE_SEEDS, true); mark_supported(&mut supported, FLAG_OBJECT_METADATA, true); supported @@ -659,6 +666,7 @@ pub fn validate_paired_feature_flags(manifest: &Manifest) -> Result<()> { (FLAG_MIXED_DATA_FILE_VERSIONS, "mixed data-file-version"), (FLAG_MANAGED_BLOBS, "Managed Blob"), (FLAG_ZONE_WRITE_SEEDS, "zone write seed"), + (FLAG_LOCAL_FRAGMENT_ALIASES, "local fragment aliases"), ] { let reader = manifest.reader_feature_flags & flag != 0; let writer = manifest.writer_feature_flags & flag != 0; @@ -867,7 +875,7 @@ mod tests { assert_eq!(FLAG_INLINE_DELETIONS, 1 << 19); assert!(can_read_dataset(FLAG_INLINE_DELETIONS)); assert!(can_write_dataset(FLAG_INLINE_DELETIONS)); - assert_eq!(FLAG_UNKNOWN, 1 << 20); + assert_eq!(FLAG_UNKNOWN, 1 << 21); assert!(!can_read_dataset(FLAG_UNKNOWN)); assert!(!can_write_dataset(FLAG_UNKNOWN)); @@ -965,6 +973,62 @@ mod tests { } } + #[test] + fn test_local_fragment_aliases_are_paired_and_not_sticky() { + assert_eq!(FLAG_LOCAL_FRAGMENT_ALIASES, 1 << 20); + assert!(!can_read_dataset(FLAG_LOCAL_FRAGMENT_ALIASES)); + assert!(!can_write_dataset(FLAG_LOCAL_FRAGMENT_ALIASES)); + assert_eq!(STICKY_PAIRED_FLAGS & FLAG_LOCAL_FRAGMENT_ALIASES, 0); + + for (reader, writer) in [ + (FLAG_LOCAL_FRAGMENT_ALIASES, 0), + (0, FLAG_LOCAL_FRAGMENT_ALIASES), + ] { + let mut manifest = empty_manifest(); + manifest.reader_feature_flags = reader; + manifest.writer_feature_flags = writer; + let error = validate_paired_feature_flags(&manifest).unwrap_err(); + assert!(matches!(error, Error::CorruptFile { .. }), "{error:?}"); + assert!( + error.to_string().contains("local fragment aliases"), + "{error}" + ); + } + + let mut manifest = empty_manifest(); + manifest.reader_feature_flags = FLAG_LOCAL_FRAGMENT_ALIASES; + manifest.writer_feature_flags = FLAG_LOCAL_FRAGMENT_ALIASES; + validate_paired_feature_flags(&manifest).unwrap(); + let error = ensure_can_read_manifest(&manifest).unwrap_err(); + assert!(matches!(error, Error::NotSupported { .. }), "{error:?}"); + let error = ensure_can_write_manifest(&manifest).unwrap_err(); + assert!(matches!(error, Error::NotSupported { .. }), "{error:?}"); + + apply_feature_flags(&mut manifest, false, false).unwrap(); + assert_eq!( + manifest.reader_feature_flags & FLAG_LOCAL_FRAGMENT_ALIASES, + 0 + ); + assert_eq!( + manifest.writer_feature_flags & FLAG_LOCAL_FRAGMENT_ALIASES, + 0 + ); + + let mut source = empty_manifest(); + source.reader_feature_flags = FLAG_LOCAL_FRAGMENT_ALIASES; + source.writer_feature_flags = FLAG_LOCAL_FRAGMENT_ALIASES; + let mut destination = empty_manifest(); + inherit_sticky_feature_flags(&mut destination, &source).unwrap(); + assert_eq!( + destination.reader_feature_flags & FLAG_LOCAL_FRAGMENT_ALIASES, + 0 + ); + assert_eq!( + destination.writer_feature_flags & FLAG_LOCAL_FRAGMENT_ALIASES, + 0 + ); + } + #[test] fn test_fragment_tree_flag_is_reserved_not_supported() { assert_eq!(FLAG_FRAGMENT_TREE, 4096); diff --git a/rust/lance-table/src/format/index.rs b/rust/lance-table/src/format/index.rs index 8c71c6fa567..4aa88fcafec 100644 --- a/rust/lance-table/src/format/index.rs +++ b/rust/lance-table/src/format/index.rs @@ -743,6 +743,13 @@ impl IndexMetadata { }) .transpose()?; + // An empty map means the segment uses its stored fragment IDs. + if !proto.local_fragment_aliases.is_empty() { + return Err(Error::not_supported( + "index segment has local fragment aliases, which this build does not support yet", + )); + } + Ok(Self { uuid: proto.uuid.as_ref().map(Uuid::try_from).ok_or_else(|| { Error::invalid_input("uuid field does not exist in Index metadata".to_string()) @@ -816,6 +823,7 @@ impl From<&IndexMetadata> for pb::IndexMetadata { created_at: idx.created_at.map(|dt| dt.timestamp_millis() as u64), base_id: idx.base_id, files, + local_fragment_aliases: Default::default(), } } } @@ -897,6 +905,7 @@ pub async fn list_index_files_with_sizes( #[cfg(test)] mod tests { use super::*; + use prost::Message; use rstest::rstest; use std::collections::HashMap; @@ -973,6 +982,32 @@ mod tests { assert!(err.to_string().contains("created_at"), "got: {err}"); } + #[test] + fn test_index_metadata_empty_local_fragment_aliases_round_trip() { + let metadata = index_metadata_with(vec![0], vec![]); + let proto = pb::IndexMetadata::from(&metadata); + assert!(proto.local_fragment_aliases.is_empty()); + + let decoded = pb::IndexMetadata::decode(proto.encode_to_vec().as_slice()).unwrap(); + assert!(decoded.local_fragment_aliases.is_empty()); + assert_eq!(IndexMetadata::try_from(decoded).unwrap(), metadata); + } + + #[test] + fn test_index_metadata_rejects_local_fragment_aliases() { + let mut proto = pb::IndexMetadata::from(&index_metadata_with(vec![0], vec![])); + proto.local_fragment_aliases.insert(17, 42); + let decoded = pb::IndexMetadata::decode(proto.encode_to_vec().as_slice()).unwrap(); + assert_eq!(decoded.local_fragment_aliases.get(&17), Some(&42)); + + let err = IndexMetadata::try_from(decoded).unwrap_err(); + assert!(matches!(err, Error::NotSupported { .. }), "got: {err:?}"); + assert!( + err.to_string().contains("local fragment aliases"), + "got: {err}" + ); + } + #[test] fn test_index_metadata_created_at_roundtrip() { let mut metadata = index_metadata_with(vec![0], vec![]); diff --git a/rust/lance-table/src/pb/lance.table.rs b/rust/lance-table/src/pb/lance.table.rs index 9fec036c8cf..75b9adb7146 100644 --- a/rust/lance-table/src/pb/lance.table.rs +++ b/rust/lance-table/src/pb/lance.table.rs @@ -1179,6 +1179,10 @@ pub struct IndexMetadata { pub dataset_version: u64, /// A bitmap of the included fragment ids. /// + /// Stores committed dataset fragment IDs, not local IDs stored inside index + /// files. When `local_fragment_aliases` is used, a commit or rebase updates + /// this bitmap and the aliases together without rewriting the index files. + /// /// This may by used to determine how much of the dataset is covered by the /// index. This information can be retrieved from the dataset by looking at /// the dataset at `dataset_version`. However, since the old version may be @@ -1261,6 +1265,25 @@ pub struct IndexMetadata { #[prost(map = "string, string", tag = "13")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, + /// Sparse map from fragment IDs stored in this segment's files to committed + /// fragment IDs. An empty map means no mapping. Unmapped IDs keep their + /// value. Each stored ID is translated once. + /// + /// Applies to every fragment ID referenced by the segment's files, such as the + /// fragment half of a physical row address or a zone's fragment ID. A row + /// address keeps its row offset. Stable logical row IDs and user column values + /// are not translated. + /// + /// Keys and values must be less than 2^32 - 1. u32::MAX (2^32 - 1) is + /// reserved for RowAddress::TOMBSTONE_FRAG. Two referenced fragment IDs must + /// not resolve to the same final fragment ID. + /// + /// Requires flag 1 << 20 (FLAG_LOCAL_FRAGMENT_ALIASES) in both reader and + /// writer feature flags while nonempty. Both bits are cleared when no + /// retained segment has a nonempty map. Reserved until readers and index + /// maintenance support aliases. + #[prost(map = "uint32, uint32", tag = "14")] + pub local_fragment_aliases: ::std::collections::HashMap, } impl ::prost::Name for IndexMetadata { const NAME: &'static str = "IndexMetadata"; diff --git a/rust/lance-tools/src/manifest.rs b/rust/lance-tools/src/manifest.rs index 70ef99b8e5f..ed20eb21bf2 100644 --- a/rust/lance-tools/src/manifest.rs +++ b/rust/lance-tools/src/manifest.rs @@ -10,10 +10,10 @@ use lance_table::feature_flags::{ FLAG_BASE_PATHS, FLAG_COVERED_INDEX_METADATA, FLAG_DELETION_FILES, FLAG_DISABLE_TRANSACTION_FILE, FLAG_FRAG_REUSE_WITH_STABLE_ROW_IDS, FLAG_FRAGMENT_REUSE_INDEX, FLAG_FRAGMENT_TREE, FLAG_INDEPENDENT_COVERING_FIELDS, FLAG_INLINE_DELETIONS, - FLAG_MANAGED_BLOBS, FLAG_MIXED_DATA_FILE_VERSIONS, FLAG_NON_REUSABLE_FIELD_IDS, - FLAG_OBJECT_METADATA, FLAG_ROW_ADDR_INDICES, FLAG_SPILLED_ROW_LINEAGE, FLAG_STABLE_ROW_IDS, - FLAG_TABLE_CONFIG, FLAG_UNKNOWN, FLAG_UNSTABLE_DATA_OVERLAY_FILES, - FLAG_USE_V2_FORMAT_DEPRECATED, FLAG_ZONE_WRITE_SEEDS, + FLAG_LOCAL_FRAGMENT_ALIASES, FLAG_MANAGED_BLOBS, FLAG_MIXED_DATA_FILE_VERSIONS, + FLAG_NON_REUSABLE_FIELD_IDS, FLAG_OBJECT_METADATA, FLAG_ROW_ADDR_INDICES, + FLAG_SPILLED_ROW_LINEAGE, FLAG_STABLE_ROW_IDS, FLAG_TABLE_CONFIG, FLAG_UNKNOWN, + FLAG_UNSTABLE_DATA_OVERLAY_FILES, FLAG_USE_V2_FORMAT_DEPRECATED, FLAG_ZONE_WRITE_SEEDS, }; use lance_table::format::overlay::OverlayCoverage; use lance_table::format::{ @@ -1347,6 +1347,7 @@ fn format_feature_flags(flags: u64) -> String { (FLAG_OBJECT_METADATA, "object_metadata"), (FLAG_ROW_ADDR_INDICES, "row_addr_indices"), (FLAG_INLINE_DELETIONS, "inline_deletions"), + (FLAG_LOCAL_FRAGMENT_ALIASES, "local_fragment_aliases"), ]; let mut names = known_flags .iter() @@ -1623,6 +1624,7 @@ mod tests { (FLAG_OBJECT_METADATA, "object_metadata"), (FLAG_ROW_ADDR_INDICES, "row_addr_indices"), (FLAG_INLINE_DELETIONS, "inline_deletions"), + (FLAG_LOCAL_FRAGMENT_ALIASES, "local_fragment_aliases"), ]; let rendered = format_feature_flags(FLAG_UNKNOWN - 1); for (_, name) in known_flags {