SchemaField
¶
Source code in docs_src/capo_s3tables/types/schema_field.py
id
instance-attribute
¶
id: NotRequired[int]
An optional unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes. If not specified, S3 Tables automatically assigns field IDs.
required
instance-attribute
¶
required: bool
A Boolean value that specifies whether values are required for each row in this field. By default, this is false and null values are allowed in the field. If this is true the field does not allow null values.
type
instance-attribute
¶
type: str
The field type. S3 Tables supports all Apache Iceberg primitive types. For more information, see the Apache Iceberg documentation.