Skip to content

IcebergTableMetadata

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

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.