interface IcebergPartitionField
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.S3Tables.Alpha.IcebergPartitionField |
Java | software.amazon.awscdk.services.s3tables.alpha.IcebergPartitionField |
Python | aws_cdk.aws_s3tables_alpha.IcebergPartitionField |
TypeScript (source) | @aws-cdk/aws-s3tables-alpha ยป IcebergPartitionField |
Partition field definition for Iceberg table.
Defines a single partition column. Multiple partition fields can be combined in an IcebergPartitionSpec to create multi-level partitioning.
Example
// 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 icebergPartitionField: s3tables_alpha.IcebergPartitionField = {
name: 'name',
sourceId: 123,
transform: icebergTransform,
// the properties below are optional
fieldId: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the partition field. |
| source | number | The source field ID from the schema. |
| transform | Iceberg | The partition transform function. |
| field | number | The unique identifier for the partition field. |
name
Type:
string
The name of the partition field.
sourceId
Type:
number
The source field ID from the schema.
transform
Type:
Iceberg
The partition transform function.
Use IcebergTransform static properties for common transforms (e.g., IcebergTransform.IDENTITY)
or methods for parameterized transforms (e.g., IcebergTransform.bucket(16)).
fieldId?
Type:
number
(optional, default: Auto-assigned starting from 1000)
The unique identifier for the partition field.

.NET
Java
Python
TypeScript (