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 list of sort fields that define how data is sorted within files. Each field specifies a source field, sort direction, and null ordering. This field is required if
writeOrderis provided.Type: Array of IcebergSortField objects
Required: Yes
- order-id
-
The unique identifier for this sort order. If not specified, defaults to
1. The order ID is used by Apache Iceberg to track sort order evolution.Type: Integer
Required: Yes
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: