Values.IcebergMetadataSourceContains details about the metadata for an Iceberg table.
type nonrec t = {schema : IcebergSchema.t option;The schema for an Iceberg table. Use this property to define table schemas with primitive types only. For schemas that include nested or complex types such as struct, list, or map, use schemaV2 instead.
*)schemaV2 : IcebergSchemaV2.t option;The schema for an Iceberg table using the V2 format. Use this property to define table schemas that include nested or complex data types such as struct, list, or map, in addition to primitive types. For schemas with only primitive types, you can use either schema or schemaV2.
*)partitionSpec : IcebergPartitionSpec.t option;The partition specification for the Iceberg table. Partitioning organizes data into separate files based on the values of one or more fields, which can improve query performance by reducing the amount of data scanned. Each partition field applies a transform (such as identity, year, month, or bucket) to a single field.
*)writeOrder : IcebergSortOrder.t option;The sort order for the Iceberg table. Sort order defines how data is sorted within data files, which can improve query performance by enabling more efficient data skipping and filtering.
*)properties : TableProperties.t option;A map of custom configuration properties for the Iceberg table.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Map of
([> `String of String_.t ] * [> `String of String_.t ]) list
| `Structure of
(string
* [> `Enum of string
| `Integer of Integer.t
| `List of
[> `Integer of Integer.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of Integer.t
| `String of String_.t
| `Structure of 'a list ])
list ]
list ])
list ])
list ]