IcebergPartitionField
¶
Source code in docs_src/capo_s3tables/types/iceberg_partition_field.py
field_id
instance-attribute
¶
field_id: NotRequired[int]
An optional unique identifier for this partition field. If not specified, S3 Tables automatically assigns a field ID.
name
instance-attribute
¶
name: str
The name for this partition field. This name is used in the partitioned file paths.
source_id
instance-attribute
¶
source_id: int
The ID of the source schema field to partition by. This must reference a valid field ID from the table schema.
transform
instance-attribute
¶
transform: str
The partition transform to apply to the source field. Supported transforms include identity, year, month, day, hour, bucket, and truncate. For more information, see the Apache Iceberg partition transforms documentation.