/AWS1/CL_S3TICEBERGSORTORDER¶
Defines the sort order for data within an Iceberg table. Sorting data can improve query performance by enabling more efficient data skipping.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_orderid TYPE /AWS1/S3TINTEGER /AWS1/S3TINTEGER¶
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.
it_fields TYPE /AWS1/CL_S3TICEBERGSORTFIELD=>TT_ICEBERGSORTFIELDLIST TT_ICEBERGSORTFIELDLIST¶
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.
Queryable Attributes¶
orderId¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ORDERID() |
Getter for ORDERID, with configurable default |
ASK_ORDERID() |
Getter for ORDERID w/ exceptions if field has no value |
HAS_ORDERID() |
Determine if ORDERID has a value |
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FIELDS() |
Getter for FIELDS, with configurable default |
ASK_FIELDS() |
Getter for FIELDS w/ exceptions if field has no value |
HAS_FIELDS() |
Determine if FIELDS has a value |