Skip to content

TableMetadata

Source code in docs_src/capo_athena/types/table_metadata.py
class TableMetadata(TypedDict, closed=True):
    name: "capo_athena.types.name_string.NameString"
    """<p>The name of the table.</p>"""
    create_time: NotRequired["capo_athena.types.timestamp.Timestamp"]
    """<p>The time that the table was created.</p>"""
    last_access_time: NotRequired["capo_athena.types.timestamp.Timestamp"]
    """<p>The last time the table was accessed.</p>"""
    table_type: NotRequired["capo_athena.types.table_type_string.TableTypeString"]
    """<p>The type of table. In Athena, only <code>EXTERNAL_TABLE</code> is supported.</p>"""
    columns: NotRequired["capo_athena.types.column_list.ColumnList"]
    """<p>A list of the columns in the table.</p>"""
    partition_keys: NotRequired["capo_athena.types.column_list.ColumnList"]
    """<p>A list of the partition keys in the table.</p>"""
    parameters: NotRequired["capo_athena.types.parameters_map.ParametersMap"]
    """<p>A set of custom key/value pairs for table properties.</p>"""

columns instance-attribute

columns: NotRequired[ColumnList]

A list of the columns in the table.

create_time instance-attribute

create_time: NotRequired[Timestamp]

The time that the table was created.

last_access_time instance-attribute

last_access_time: NotRequired[Timestamp]

The last time the table was accessed.

name instance-attribute

name: NameString

The name of the table.

parameters instance-attribute

parameters: NotRequired[ParametersMap]

A set of custom key/value pairs for table properties.

partition_keys instance-attribute

partition_keys: NotRequired[ColumnList]

A list of the partition keys in the table.

table_type instance-attribute

table_type: NotRequired[TableTypeString]

The type of table. In Athena, only EXTERNAL_TABLE is supported.