IcebergSchemaV2
Contains details about the schema for an Iceberg table. This schema format supports nested and complex data types such as struct, list, and map, in addition to primitive types.
Contents
- fields
-
The schema fields for the table. Each field defines a column in the table, including its name, type, and whether it is required.
Type: Array of SchemaV2Field objects
Required: Yes
- type
-
The type of the top-level schema, which is always a
structtype as defined in the Apache Iceberg specification. This value must be struct.Type: String
Valid Values:
structRequired: Yes
- identifier-field-ids
-
The IDs of the fields that uniquely identify each row in the table.
Type: Array of integers
Required: No
- schema-id
-
An optional ID for the schema. Apache Iceberg uses schema IDs to track schema evolution.
Type: Integer
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: