Values.IcebergSchemaV2SourceContains 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.
type nonrec t = {type_ : SchemaV2FieldType.t;The type of the top-level schema, which is always a struct type as defined in the Apache Iceberg specification. This value must be struct.
*)fields : SchemaV2FieldList.t;The schema fields for the table. Each field defines a column in the table, including its name, type, and whether it is required.
*)schemaId : Integer.t option;An optional unique identifier for the schema. Schema IDs are used by Apache Iceberg to track schema evolution.
*)identifierFieldIds : IntegerList.t option;A list of field IDs that are used as the identifier fields for the table. Identifier fields uniquely identify a row in the table.
*)}val make :
?schemaId:??? ->
?identifierFieldIds:??? ->
type_:SchemaV2FieldType.t ->
fields:SchemaV2FieldList.t ->
unit ->
t