Skip to content

/AWS1/CL_S3TICEBERGPARTSPEC

Defines how data in an Iceberg table is partitioned. Partitioning helps optimize query performance by organizing data into separate files based on field values. Each partition field specifies a transform to apply to a source field.

CONSTRUCTOR

IMPORTING

Required arguments:

it_fields TYPE /AWS1/CL_S3TICEBERGPARTFIELD=>TT_ICEBERGPARTITIONFIELDLIST TT_ICEBERGPARTITIONFIELDLIST

The list of partition fields that define how the table data is partitioned. Each field specifies a source field and a transform to apply. This field is required if partitionSpec is provided.

Optional arguments:

iv_specid TYPE /AWS1/S3TINTEGER /AWS1/S3TINTEGER

The unique identifier for this partition specification. If not specified, defaults to 0.


Queryable Attributes

fields

The list of partition fields that define how the table data is partitioned. Each field specifies a source field and a transform to apply. This field is required if partitionSpec is 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

specId

The unique identifier for this partition specification. If not specified, defaults to 0.

Accessible with the following methods

Method Description
GET_SPECID() Getter for SPECID, with configurable default
ASK_SPECID() Getter for SPECID w/ exceptions if field has no value
HAS_SPECID() Determine if SPECID has a value