Module Values.SchemaFieldSource

Contains details about a schema field.

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

    An optional unique identifier for the schema field. Field IDs are used by Apache Iceberg to track schema evolution and maintain compatibility across schema changes. If not specified, S3 Tables automatically assigns field IDs.

    *)
  2. name : String_.t;
    (*

    The name of the field.

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

    The field type. S3 Tables supports all Apache Iceberg primitive types. For more information, see the Apache Iceberg documentation.

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

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

    *)
}
Sourceval context_ : string
Sourceval make : ?id:??? -> ?required:??? -> name:String_.t -> type_:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `String of String_.t ]) 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