Module Values_2.ViewValidationSource

A structure that contains information for an analytical engine to validate a view, prior to persisting the view metadata. Used in the case of direct UpdateTable or CreateTable API calls.

Sourcetype nonrec t = {
  1. dialect : Values_1.ViewDialect.t option;
    (*

    The dialect of the query engine.

    *)
  2. dialectVersion : Values_1.ViewDialectVersionString.t option;
    (*

    The version of the dialect of the query engine. For example, 3.0.0.

    *)
  3. viewValidationText : Values_1.ViewTextString.t option;
    (*

    The SELECT query that defines the view, as provided by the customer.

    *)
  4. updateTime : Values_0.Timestamp.t option;
    (*

    The time of the last update.

    *)
  5. state : ResourceState.t option;
    (*

    The state of the validation.

    *)
  6. error : Values_0.ErrorDetail.t option;
    (*

    An error associated with the validation.

    *)
}
Sourceval make : ?dialect:??? -> ?dialectVersion:??? -> ?viewValidationText:??? -> ?updateTime:??? -> ?state:??? -> ?error:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_1.ViewDialectVersionString.t | `Structure of (string * [> `String of string ]) list | `Timestamp of Values_0.Timestamp.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