Skip to content

/AWS1/CL_ATH=>GETTABLEMETADATA()

About GetTableMetadata

Returns table metadata for the specified catalog, database, and table.

Method Signature

IMPORTING

Required arguments:

IV_CATALOGNAME TYPE /AWS1/ATHCATALOGNAMESTRING /AWS1/ATHCATALOGNAMESTRING

The name of the data catalog that contains the database and table metadata to return.

IV_DATABASENAME TYPE /AWS1/ATHNAMESTRING /AWS1/ATHNAMESTRING

The name of the database that contains the table metadata to return.

IV_TABLENAME TYPE /AWS1/ATHNAMESTRING /AWS1/ATHNAMESTRING

The name of the table for which metadata is returned.

Optional arguments:

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_ATHGETTABLEMETOUTPUT /AWS1/CL_ATHGETTABLEMETOUTPUT