SchemaV2Field
¶
Source code in docs_src/capo_s3tables/types/schema_v2_field.py
id
instance-attribute
¶
id: int
The unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes.
required
instance-attribute
¶
required: bool
A Boolean value that specifies whether values are required for each row in this field. If this is true, the field does not allow null values.
type
instance-attribute
¶
type: object
The data type of the field. This can be a primitive type string such as boolean, int, long, float, double, string, binary, date, timestamp, or timestamptz, or a complex type represented as a JSON object for nested types such as struct, list, or map. For more information, see the Apache Iceberg schemas and data types documentation.