Module Values_1.IcebergPartitionFieldSource

Defines a single partition field within an Iceberg partition specification, including the source field, transformation function, partition name, and unique identifier.

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

    The identifier of the source field from the table schema that this partition field is based on.

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

    The transformation function applied to the source field to create the partition, such as identity, bucket, truncate, year, month, day, or hour.

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

    The name of the partition field as it will appear in the partitioned table structure.

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

    The unique identifier assigned to this partition field within the Iceberg table's partition specification.

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