Module Values.IcebergPartitionFieldSource

Defines a single partition field in an Iceberg partition specification.

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

    The ID of the source schema field to partition by. This must reference a valid field ID from the table schema.

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

    The partition transform to apply to the source field. Supported transforms include identity, year, month, day, hour, bucket, and truncate. For more information, see the Apache Iceberg partition transforms documentation.

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

    The name for this partition field. This name is used in the partitioned file paths.

    *)
  4. fieldId : Integer.t option;
    (*

    An optional unique identifier for this partition field. If not specified, S3 Tables automatically assigns a field ID.

    *)
}
Sourceval context_ : string
Sourceval make : ?fieldId:??? -> sourceId:Integer.t -> transform:String_.t -> name:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `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