IcebergSchemaV2
¶
Source code in docs_src/capo_s3tables/types/iceberg_schema_v2.py
fields
instance-attribute
¶
fields: SchemaV2FieldList
The schema fields for the table. Each field defines a column in the table, including its name, type, and whether it is required.
identifier_field_ids
instance-attribute
¶
identifier_field_ids: NotRequired[IntegerList]
A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.
schema_id
instance-attribute
¶
schema_id: NotRequired[int]
An optional unique identifier for the schema. Schema IDs are used by Apache Iceberg to track schema evolution.
type
instance-attribute
¶
type: SchemaV2FieldType
The type of the top-level schema, which is always a struct type as defined in the Apache Iceberg specification. This value must be struct.