Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

TableMetadata - Amazon Athena

TableMetadata

Contains metadata for a table.

Contents

Name

The name of the table.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

Columns

A list of the columns in the table.

Type: Array of Column objects

Required: No

CreateTime

The time that the table was created.

Type: Timestamp

Required: No

LastAccessTime

The last time the table was accessed.

Type: Timestamp

Required: No

Parameters

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

Type: String to string map

Key Length Constraints: Minimum length of 1. Maximum length of 255.

Key Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\t]*

Value Length Constraints: Maximum length of 51200.

Required: No

PartitionKeys

A list of the partition keys in the table.

Type: Array of Column objects

Required: No

TableType

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

Type: String

Length Constraints: Maximum length of 255.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.