IcebergSortField - Amazon Simple Storage Service
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

IcebergSortField

Defines a single sort field in an Iceberg sort order specification.

Contents

direction

The sort direction. Valid values are asc for ascending order or desc for descending order.

Type: String

Valid Values: asc | desc

Required: Yes

null-order

Specifies how null values are ordered. Valid values are nulls-first to place nulls before non-null values, or nulls-last to place nulls after non-null values.

Type: String

Valid Values: nulls-first | nulls-last

Required: Yes

source-id

The ID of the source schema field to sort by. This must reference a valid field ID from the table schema.

Type: Integer

Required: Yes

transform

The transform to apply to the source field before sorting. Use identity to sort by the field value directly, or specify other transforms as needed.

Type: String

Required: Yes

See Also

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