IcebergPartitionField - AWS Glue

IcebergPartitionField

Defines a single partition field within an Iceberg partition specification, including the source field, transformation function, partition name, and unique identifier.

Contents

Name

The name of the partition field as it will appear in the partitioned table structure.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 1024.

Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Required: Yes

SourceId

The identifier of the source field from the table schema that this partition field is based on.

Type: Integer

Required: Yes

Transform

The transformation function applied to the source field to create the partition, such as identity, bucket, truncate, year, month, day, or hour.

Type: String

Required: Yes

FieldId

The unique identifier assigned to this partition field within the Iceberg table's partition specification.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: