diff --git a/crates/iceberg/src/spec/table_metadata.rs b/crates/iceberg/src/spec/table_metadata.rs index 95d59b870..0f7ee2a5c 100644 --- a/crates/iceberg/src/spec/table_metadata.rs +++ b/crates/iceberg/src/spec/table_metadata.rs @@ -43,50 +43,6 @@ pub(crate) static ONE_MINUTE_MS: i64 = 60_000; pub(crate) static EMPTY_SNAPSHOT_ID: i64 = -1; pub(crate) static INITIAL_SEQUENCE_NUMBER: i64 = 0; -// public static final String FORMAT_VERSION = "format-version"; - -// /** Reserved table property for table UUID. */ -// public static final String UUID = "uuid"; - -// /** Reserved table property for the total number of snapshots. */ -// public static final String SNAPSHOT_COUNT = "snapshot-count"; - -// /** Reserved table property for current snapshot summary. */ -// public static final String CURRENT_SNAPSHOT_SUMMARY = "current-snapshot-summary"; - -// /** Reserved table property for current snapshot id. */ -// public static final String CURRENT_SNAPSHOT_ID = "current-snapshot-id"; - -// /** Reserved table property for current snapshot timestamp. */ -// public static final String CURRENT_SNAPSHOT_TIMESTAMP = "current-snapshot-timestamp-ms"; - -// /** Reserved table property for the JSON representation of current schema. */ -// public static final String CURRENT_SCHEMA = "current-schema"; - -// /** Reserved table property for the JSON representation of current(default) partition spec. */ -// public static final String DEFAULT_PARTITION_SPEC = "default-partition-spec"; - -// /** Reserved table property for the JSON representation of current(default) sort order. */ -// public static final String DEFAULT_SORT_ORDER = "default-sort-order"; - -/** - * Reserved Iceberg table properties list. - * - *

Reserved table properties are only used to control behaviors when creating or updating a - * table. The value of these properties are not persisted as a part of the table metadata. - */ -// public static final Set RESERVED_PROPERTIES = -// ImmutableSet.of( -// FORMAT_VERSION, -// UUID, -// SNAPSHOT_COUNT, -// CURRENT_SNAPSHOT_ID, -// CURRENT_SNAPSHOT_SUMMARY, -// CURRENT_SNAPSHOT_TIMESTAMP, -// CURRENT_SCHEMA, -// DEFAULT_PARTITION_SPEC, -// DEFAULT_SORT_ORDER); - /// Reserved table property for table format version. /// /// Iceberg will default a new table's format version to the latest stable and recommended