Skip to content

/AWS1/CL_GLU=>UPDATETABLE()

About UpdateTable

Updates a metadata table in the Data Catalog.

Method Signature

IMPORTING

Required arguments:

IV_DATABASENAME TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING

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

IO_TABLEINPUT TYPE REF TO /AWS1/CL_GLUTABLEINPUT /AWS1/CL_GLUTABLEINPUT

An updated TableInput object to define the metadata table in the catalog.

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_SKIPARCHIVE TYPE /AWS1/GLUBOOLEANNULLABLE /AWS1/GLUBOOLEANNULLABLE

By default, UpdateTable always creates an archived version of the table before updating it. However, if skipArchive is set to true, UpdateTable does not create the archived version.

IV_TRANSACTIONID TYPE /AWS1/GLUTRANSACTIONIDSTRING /AWS1/GLUTRANSACTIONIDSTRING

The transaction ID at which to update the table contents.

IV_VERSIONID TYPE /AWS1/GLUVERSIONSTRING /AWS1/GLUVERSIONSTRING

The version ID at which to update the table contents.

IV_VIEWUPDATEACTION TYPE /AWS1/GLUVIEWUPDATEACTION /AWS1/GLUVIEWUPDATEACTION

The operation to be performed when updating the view.

IV_FORCE TYPE /AWS1/GLUBOOLEAN /AWS1/GLUBOOLEAN

A flag that can be set to true to ignore matching storage descriptor and subobject matching requirements.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GLUUPDATETABLERSP /AWS1/CL_GLUUPDATETABLERSP