Skip to content

/AWS1/CL_ATH=>LISTTABLEMETADATA()

About ListTableMetadata

Lists the metadata for the tables in the specified data catalog database.

Method Signature

IMPORTING

Required arguments:

IV_CATALOGNAME TYPE /AWS1/ATHCATALOGNAMESTRING /AWS1/ATHCATALOGNAMESTRING

The name of the data catalog for which table metadata should be returned.

IV_DATABASENAME TYPE /AWS1/ATHNAMESTRING /AWS1/ATHNAMESTRING

The name of the database for which table metadata should be returned.

Optional arguments:

IV_EXPRESSION TYPE /AWS1/ATHEXPRESSIONSTRING /AWS1/ATHEXPRESSIONSTRING

A regex filter that pattern-matches table names. If no expression is supplied, metadata for all tables are listed.

IV_NEXTTOKEN TYPE /AWS1/ATHTOKEN /AWS1/ATHTOKEN

A token generated by the Athena service that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.

IV_MAXRESULTS TYPE /AWS1/ATHMAXTABLEMETADATACOUNT /AWS1/ATHMAXTABLEMETADATACOUNT

Specifies the maximum number of results to return.

IV_WORKGROUP TYPE /AWS1/ATHWORKGROUPNAME /AWS1/ATHWORKGROUPNAME

The name of the workgroup for which the metadata is being fetched. Required if requesting an IAM Identity Center enabled Glue Data Catalog.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ATHLISTTABLEMETOUTPUT /AWS1/CL_ATHLISTTABLEMETOUTPUT