View a markdown version of this page

IcebergSortOrder - Amazon S3

IcebergSortOrder

Defines the sort order for data within an Iceberg table. Sorting data can improve query performance by enabling more efficient data skipping.

Contents

fields

The sort fields that define how data is sorted within files. Each field specifies a source field, sort direction, and null ordering. A sort order for a migration can have at most five fields.

Type: Array of IcebergSortField objects

Required: Yes

order-id

The ID of the sort order. Use 1 for a new sort order. Apache Iceberg uses the ID to track changes to a table's sort order.

Type: Integer

Required: Yes

See Also

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