SchemaV2Field - Amazon Simple Storage Service
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

SchemaV2Field

Contains details about a schema field in the V2 format. This field format supports nested and complex data types such as struct, list, and map, in addition to primitive types.

Contents

id

The unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes.

Type: Integer

Required: Yes

name

The name of the field.

Type: String

Required: Yes

required

A Boolean value that specifies whether values are required for each row in this field. If this is true, the field does not allow null values.

Type: Boolean

Required: Yes

type

The data type of the field. This can be a primitive type string such as boolean, int, long, float, double, string, binary, date, timestamp, or timestamptz, or a complex type represented as a JSON object for nested types such as struct, list, or map. For more information, see the Apache Iceberg schemas and data types documentation.

Type: JSON value

Required: Yes

doc

An optional description of the field.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: