Module Values_1.IcebergStructFieldSource

Defines a single field within an Iceberg table schema, including its identifier, name, data type, nullability, and documentation.

Sourcetype nonrec t = {
  1. id : Values_0.Integer.t;
    (*

    The unique identifier assigned to this field within the Iceberg table schema, used for schema evolution and field tracking.

    *)
  2. name : Values_0.ColumnNameString.t;
    (*

    The name of the field as it appears in the table schema and query operations.

    *)
  3. type_ : IcebergDocument.t;
    (*

    The data type definition for this field, specifying the structure and format of the data it contains.

    *)
  4. required : Values_0.Boolean.t;
    (*

    Indicates whether this field is required (non-nullable) or optional (nullable) in the table schema.

    *)
  5. doc : Values_0.CommentString.t option;
    (*

    Optional documentation or description text that provides additional context about the purpose and usage of this field.

    *)
  6. initialDefault : IcebergDocument.t option;
    (*

    Default value used to populate the field's value for all records that were written before the field was added to the schema. This enables backward compatibility when adding new fields to existing Iceberg tables.

    *)
  7. writeDefault : IcebergDocument.t option;
    (*

    Default value used to populate the field's value for any records written after the field was added to the schema, if the writer does not supply the field's value. This can be changed through schema evolution.

    *)
}
Sourceval context_ : string
Sourceval make : ?doc:??? -> ?initialDefault:??? -> ?writeDefault:??? -> id:Values_0.Integer.t -> name:Values_0.ColumnNameString.t -> type_:IcebergDocument.t -> required:Values_0.Boolean.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Integer of Values_0.Integer.t | `String of Values_0.ColumnNameString.t | `Structure of 'a list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t