Module Values_2.Table

Represents a collection of related data organized in columns and rows.

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

    The table name. For Hive compatibility, this must be entirely lowercase.

    *)
  2. databaseName : Values_0.NameString.t option;
    (*

    The name of the database where the table metadata resides. For Hive compatibility, this must be all lowercase.

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

    A description of the table.

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

    The owner of the table.

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

    The time when the table definition was created in the Data Catalog.

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

    The last time that the table was updated.

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

    The last time that the table was accessed. This is usually taken from HDFS, and might not be reliable.

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

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

    *)
  9. retention : Values_1.NonNegativeInteger.t option;
    (*

    The retention time for this table.

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

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

    *)
  11. 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": []

    *)
  12. viewOriginalText : Values_1.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.

    *)
  13. viewExpandedText : Values_1.ViewTextString.t option;
    (*

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

    *)
  14. tableType : Values_1.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.

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

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

    *)
  16. createdBy : Values_0.NameString.t option;
    (*

    The person or entity who created the table.

    *)
  17. isRegisteredWithLakeFormation : Values_0.Boolean.t option;
    (*

    Indicates whether the table has been registered with Lake Formation.

    *)
  18. targetTable : Values_1.TableIdentifier.t option;
    (*

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

    *)
  19. catalogId : Values_0.CatalogIdString.t option;
    (*

    The ID of the Data Catalog in which the table resides.

    *)
  20. versionId : Values_0.VersionString.t option;
    (*

    The ID of the table version.

    *)
  21. federatedTable : Values_1.FederatedTable.t option;
    (*

    A FederatedTable structure that references an entity outside the Glue Data Catalog.

    *)
  22. viewDefinition : ViewDefinition.t option;
    (*

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

    *)
  23. isMultiDialectView : Values_0.NullableBoolean.t option;
    (*

    Specifies whether the view supports the SQL dialects of one or more different query engines and can therefore be read by those engines.

    *)
  24. isMaterializedView : Values_0.NullableBoolean.t option;
    (*

    Indicates a table is a MaterializedView.

    *)
  25. status : TableStatus.t option;
    (*

    Indicates the the state of an asynchronous change to a table.

    *)
}
Sourceval make : ?name:Values_0.NameString.t -> ?databaseName:Values_0.NameString.t -> ?description:Values_0.DescriptionString.t -> ?owner:Values_0.NameString.t -> ?createTime:Values_0.Timestamp.t -> ?updateTime:Values_0.Timestamp.t -> ?lastAccessTime:Values_0.Timestamp.t -> ?lastAnalyzedTime:Values_0.Timestamp.t -> ?retention:Values_1.NonNegativeInteger.t -> ?storageDescriptor:Values_0.StorageDescriptor.t -> ?partitionKeys:Values_0.ColumnList.t -> ?viewOriginalText:Values_1.ViewTextString.t -> ?viewExpandedText:Values_1.ViewTextString.t -> ?tableType:Values_1.TableTypeString.t -> ?parameters:Values_0.ParametersMap.t -> ?createdBy:Values_0.NameString.t -> ?isRegisteredWithLakeFormation:Values_0.Boolean.t -> ?targetTable:Values_1.TableIdentifier.t -> ?catalogId:Values_0.CatalogIdString.t -> ?versionId:Values_0.VersionString.t -> ?federatedTable:Values_1.FederatedTable.t -> ?viewDefinition:ViewDefinition.t -> ?isMultiDialectView:Values_0.NullableBoolean.t -> ?isMaterializedView:Values_0.NullableBoolean.t -> ?status:TableStatus.t -> unit -> t
Sourceval to_value : t -> Awso.Botodata.value
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t