Module Values_1.TableInputSource

A structure used to define a table.

Sourcetype nonrec t = {
  1. name : Values_0.NameString.t;
    (*

    The table name. For Hive compatibility, this is folded to lowercase when it is stored.

    *)
  2. description : Values_0.DescriptionString.t option;
    (*

    A description of the table.

    *)
  3. owner : Values_0.NameString.t option;
    (*

    The table owner. Included for Apache Hive compatibility. Not used in the normal course of Glue operations.

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

    The last time that the table was accessed.

    *)
  5. lastAnalyzedTime : Values_0.Timestamp.t option;
    (*

    The last time that column statistics were computed for this table.

    *)
  6. retention : NonNegativeInteger.t option;
    (*

    The retention time for this table.

    *)
  7. storageDescriptor : Values_0.StorageDescriptor.t option;
    (*

    A storage descriptor containing information about the physical storage of this table.

    *)
  8. partitionKeys : Values_0.ColumnList.t option;
    (*

    A list of columns by which the table is partitioned. Only primitive types are supported as partition keys. When you create a table used by Amazon Athena, and you do not specify any partitionKeys, you must at least set the value of partitionKeys to an empty list. For example: "PartitionKeys": []

    *)
  9. viewOriginalText : ViewTextString.t option;
    (*

    Included for Apache Hive compatibility. Not used in the normal course of Glue operations. If the table is a VIRTUAL_VIEW, certain Athena configuration encoded in base64.

    *)
  10. viewExpandedText : ViewTextString.t option;
    (*

    Included for Apache Hive compatibility. Not used in the normal course of Glue operations.

    *)
  11. tableType : TableTypeString.t option;
    (*

    The type of this table. Glue will create tables with the EXTERNAL_TABLE type. Other services, such as Athena, may create tables with additional table types. Glue related table types: EXTERNAL_TABLE Hive compatible attribute - indicates a non-Hive managed table. GOVERNED Used by Lake Formation. The Glue Data Catalog understands GOVERNED.

    *)
  12. parameters : Values_0.ParametersMap.t option;
    (*

    These key-value pairs define properties associated with the table.

    *)
  13. targetTable : TableIdentifier.t option;
    (*

    A TableIdentifier structure that describes a target table for resource linking.

    *)
  14. viewDefinition : ViewDefinitionInput.t option;
    (*

    A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?owner:??? -> ?lastAccessTime:??? -> ?lastAnalyzedTime:??? -> ?retention:??? -> ?storageDescriptor:??? -> ?partitionKeys:??? -> ?viewOriginalText:??? -> ?viewExpandedText:??? -> ?tableType:??? -> ?parameters:??? -> ?targetTable:??? -> ?viewDefinition:??? -> name:Values_0.NameString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of NonNegativeInteger.t | `List of [> `Structure of (string * [> `Map of ([> `String of string ] * [> `String of string ]) list | `String of string ]) list ] list | `Map of ([> `String of string ] * [> `String of string ]) list | `String of Values_0.NameString.t | `Structure of (string * [> `Boolean of bool | `Enum of string | `Integer of int | `List of [> `Long of TableVersionId.t | `String of string | `Structure of (string * [> `Enum of string | `Integer of int | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string ]) list ] list | `Long of TableVersionId.t | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string | `Structure of (string * [> `List of [> `String of string ] list | `Long of Awso.Import.Int64.t | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string | `Structure of (string * [> `String of string ]) list ]) list ]) 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