IcebergTableMetadata
¶
Source code in docs_src/capo_glue/types/iceberg_table_metadata.py
current_schema_id
instance-attribute
¶
current_schema_id: Integer
The identifier of the schema that is currently active for the Iceberg table. Matches an entry in Schemas.
default_sort_order_id
instance-attribute
¶
default_sort_order_id: Integer
The identifier of the sort order that is currently used by default when writing new data to the Iceberg table.
default_spec_id
instance-attribute
¶
default_spec_id: Integer
The identifier of the partition specification that is currently used by default when writing new data to the Iceberg table.
format_version
instance-attribute
¶
format_version: NotRequired[VersionString]
The Apache Iceberg table format version, such as 1 or 2. Determines the set of features and on-disk layout supported by the table.
last_column_id
instance-attribute
¶
last_column_id: Integer
The highest column identifier that has been assigned in the Iceberg table's schema, used to ensure unique IDs as new columns are added.
last_partition_id
instance-attribute
¶
last_partition_id: Integer
The highest partition field identifier that has been assigned across the table's partition specifications.
location
instance-attribute
¶
location: NotRequired[LocationString]
The base S3 location where the Iceberg table's data and metadata files are stored.
partition_specs
instance-attribute
¶
partition_specs: NotRequired[IcebergPartitionSpecList]
The list of partition specifications that have been associated with the Iceberg table over its history, supporting partition evolution.
properties
instance-attribute
¶
properties: NotRequired[StringToStringMap]
A map of key-value pairs that define table-level properties and configuration settings for the Iceberg table.
schemas
instance-attribute
¶
schemas: NotRequired[IcebergSchemaList]
The list of schemas that have been associated with the Iceberg table over its history, supporting schema evolution.
sort_orders
instance-attribute
¶
sort_orders: NotRequired[IcebergSortOrderList]
The list of sort order specifications that have been associated with the Iceberg table over its history.
table_uuid
instance-attribute
¶
table_uuid: NotRequired[TableIdString]
The unique identifier (UUID) for the Iceberg table, assigned when the table is created and used to track the table across metadata updates.