Skip to content

/AWS1/CL_GLU=>GETTABLE()

About GetTable

Retrieves the Table definition in a Data Catalog for a specified table.

Method Signature

IMPORTING

Required arguments:

IV_DATABASENAME TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING

The name of the database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.

IV_NAME TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING

The name of the table for which to retrieve the definition. For Hive compatibility, this name is entirely lowercase.

Optional arguments:

IV_CATALOGID TYPE /AWS1/GLUCATALOGIDSTRING /AWS1/GLUCATALOGIDSTRING

The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.

IV_TRANSACTIONID TYPE /AWS1/GLUTRANSACTIONIDSTRING /AWS1/GLUTRANSACTIONIDSTRING

The transaction ID at which to read the table contents.

IV_QUERYASOFTIME TYPE /AWS1/GLUTIMESTAMP /AWS1/GLUTIMESTAMP

The time as of when to read the table contents. If not set, the most recent transaction commit time will be used. Cannot be specified along with TransactionId.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GLUGETTABLERESPONSE /AWS1/CL_GLUGETTABLERESPONSE