Class: Aws::S3Tables::Types::IcebergPartitionField

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb

Overview

Defines a single partition field in an Iceberg partition specification.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_id ⇒ Integer

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

Returns:

  • (Integer)


1694
1695
1696
1697
1698
1699
1700
1701
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1694

class IcebergPartitionField < Struct.new(
  :source_id,
  :transform,
  :name,
  :field_id)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

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

Returns:

  • (String)


1694
1695
1696
1697
1698
1699
1700
1701
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1694

class IcebergPartitionField < Struct.new(
  :source_id,
  :transform,
  :name,
  :field_id)
  SENSITIVE = []
  include Aws::Structure
end

#source_id ⇒ Integer

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

Returns:

  • (Integer)


1694
1695
1696
1697
1698
1699
1700
1701
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1694

class IcebergPartitionField < Struct.new(
  :source_id,
  :transform,
  :name,
  :field_id)
  SENSITIVE = []
  include Aws::Structure
end

#transform ⇒ String

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.

Returns:

  • (String)


1694
1695
1696
1697
1698
1699
1700
1701
# File 'gems/aws-sdk-s3tables/lib/aws-sdk-s3tables/types.rb', line 1694

class IcebergPartitionField < Struct.new(
  :source_id,
  :transform,
  :name,
  :field_id)
  SENSITIVE = []
  include Aws::Structure
end