IcebergSchemaV2
Contains details about the schema for an Iceberg table using the V2 format. 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
-
A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.
Type: Array of integers
Required: No
- schema-id
-
An optional unique identifier for the schema. Schema IDs are used by Apache Iceberg 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: