IcebergSortField - AWS Glue

IcebergSortField

Defines a single field within an Iceberg sort order specification, including the source field, transformation, sort direction, and null value ordering.

Contents

Direction

The sort direction for this field, either ascending or descending.

Type: String

Valid Values: asc | desc

Required: Yes

NullOrder

The ordering behavior for null values in this field, specifying whether nulls should appear first or last in the sort order.

Type: String

Valid Values: nulls-first | nulls-last

Required: Yes

SourceId

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

Type: Integer

Required: Yes

Transform

The transformation function applied to the source field before sorting, such as identity, bucket, or truncate.

Type: String

Required: Yes

See Also

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