Skip to content
v2.275.0

Experimental

@aws-cdk/aws-s3tables-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

IcebergSortField Struct ​

Sort field definition for Iceberg table.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as s3tables_alpha from '@aws-cdk/aws-s3tables-alpha';

declare const icebergTransform: s3tables_alpha.IcebergTransform;
const icebergSortField: s3tables_alpha.IcebergSortField = {
  direction: s3tables_alpha.SortDirection.ASC,
  nullOrder: s3tables_alpha.NullOrder.NULLS_FIRST,
  sourceId: 123,
  transform: icebergTransform,
};

Properties ​

directionSortDirectiondirectionSortDirectiondirectionSortDirectionDirectionSortDirectionDirectionSortDirectionrequired#
The sort direction.
nullOrderNullOrdernull_orderNullOrdernullOrderNullOrderNullOrderNullOrderNullOrderNullOrderrequired#
The null ordering.
sourceIdnumbersource_idint | floatsourceIdNumberSourceIddoubleSourceId*float64required#
The source field ID from the schema.
The sort transform function.

Use IcebergTransform static properties for common transforms (e.g., IcebergTransform.IDENTITY) or methods for parameterized transforms (e.g., IcebergTransform.bucket(16)).