IcebergPartitionFieldProperty Struct
A partition field in an Iceberg partition spec.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const icebergPartitionFieldProperty: glue.CfnTable.IcebergPartitionFieldProperty = {
name: 'name',
sourceId: 123,
transform: 'transform',
// the properties below are optional
fieldId: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue
iceberg_partition_field_property = glue.CfnTable.IcebergPartitionFieldProperty(
name="name",
source_id=123,
transform="transform",
# the properties below are optional
field_id=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;
IcebergPartitionFieldProperty icebergPartitionFieldProperty = IcebergPartitionFieldProperty.builder()
.name("name")
.sourceId(123)
.transform("transform")
// the properties below are optional
.fieldId(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;
var icebergPartitionFieldProperty = new IcebergPartitionFieldProperty {
Name = "name",
SourceId = 123,
Transform = "transform",
// the properties below are optional
FieldId = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
icebergPartitionFieldProperty := &IcebergPartitionFieldProperty{
Name: jsii.String("name"),
SourceId: jsii.Number(123),
Transform: jsii.String("transform"),
// the properties below are optional
FieldId: jsii.Number(123),
}
Properties
fieldIdoptionalnumberfield_idoptionalint | floatfieldIdoptionalNumberFieldIdoptionaldoubleFieldIdoptional*float64 #The partition field ID.
The partition field name.
The source field ID.
The transform to apply.