Skip to content

/AWS1/CL_S3TICEBERGPARTFIELD

Defines a single partition field in an Iceberg partition specification.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_sourceid TYPE /AWS1/S3TINTEGER /AWS1/S3TINTEGER

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

iv_transform TYPE /AWS1/S3TSTRING /AWS1/S3TSTRING

The partition transform to apply to the source field. Supported transforms include identity, year, month, day, hour, bucket, and truncate. For more information, see the Apache Iceberg partition transforms documentation.

iv_name TYPE /AWS1/S3TSTRING /AWS1/S3TSTRING

The name for this partition field. This name is used in the partitioned file paths.

Optional arguments:

iv_fieldid TYPE /AWS1/S3TINTEGER /AWS1/S3TINTEGER

An optional unique identifier for this partition field. If not specified, S3 Tables automatically assigns a field ID.


Queryable Attributes

sourceId

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

Accessible with the following methods

Method Description
GET_SOURCEID() Getter for SOURCEID, with configurable default
ASK_SOURCEID() Getter for SOURCEID w/ exceptions if field has no value
HAS_SOURCEID() Determine if SOURCEID has a value

transform

The partition transform to apply to the source field. Supported transforms include identity, year, month, day, hour, bucket, and truncate. For more information, see the Apache Iceberg partition transforms documentation.

Accessible with the following methods

Method Description
GET_TRANSFORM() Getter for TRANSFORM, with configurable default
ASK_TRANSFORM() Getter for TRANSFORM w/ exceptions if field has no value
HAS_TRANSFORM() Determine if TRANSFORM has a value

name

The name for this partition field. This name is used in the partitioned file paths.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

fieldId

An optional unique identifier for this partition field. If not specified, S3 Tables automatically assigns a field ID.

Accessible with the following methods

Method Description
GET_FIELDID() Getter for FIELDID, with configurable default
ASK_FIELDID() Getter for FIELDID w/ exceptions if field has no value
HAS_FIELDID() Determine if FIELDID has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ICEBERGPARTITIONFIELDLIST

TYPES TT_ICEBERGPARTITIONFIELDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_S3TICEBERGPARTFIELD WITH DEFAULT KEY
.