TableInput
¶
Used by
-
AsyncGlueClient Operations -
GlueClient Operations
Source code in docs_src/capo_glue/types/table_input.py
description
instance-attribute
¶
description: NotRequired[DescriptionString]
A description of the table.
federated_table
instance-attribute
¶
federated_table: NotRequired[FederatedTable]
A FederatedTable structure that references an entity outside the Glue Data Catalog. Specify this field to create a federated table, which points to a table in an external metastore instead of describing data managed in the Glue Data Catalog.
last_access_time
instance-attribute
¶
last_access_time: NotRequired[Timestamp]
The last time that the table was accessed.
last_analyzed_time
instance-attribute
¶
last_analyzed_time: NotRequired[Timestamp]
The last time that column statistics were computed for this table.
name
instance-attribute
¶
name: NameString
The table name. For Hive compatibility, this is folded to lowercase when it is stored.
owner
instance-attribute
¶
owner: NotRequired[NameString]
The table owner. Included for Apache Hive compatibility. Not used in the normal course of Glue operations.
parameters
instance-attribute
¶
parameters: NotRequired[ParametersMap]
These key-value pairs define properties associated with the table.
partition_keys
instance-attribute
¶
partition_keys: NotRequired[ColumnList]
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": []
storage_descriptor
instance-attribute
¶
storage_descriptor: NotRequired[StorageDescriptor]
A storage descriptor containing information about the physical storage of this table.
table_type
instance-attribute
¶
table_type: NotRequired[TableTypeString]
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.
target_table
instance-attribute
¶
target_table: NotRequired[TableIdentifier]
A TableIdentifier structure that describes a target table for resource linking.
view_definition
instance-attribute
¶
view_definition: NotRequired[ViewDefinitionInput]
A structure that contains all the information that defines the view, including the dialect or dialects for the view, and the query.
view_expanded_text
instance-attribute
¶
view_expanded_text: NotRequired[ViewTextString]
Included for Apache Hive compatibility. Not used in the normal course of Glue operations.
view_original_text
instance-attribute
¶
view_original_text: NotRequired[ViewTextString]
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.