Skip to content

/AWS1/CL_GLU=>DELETETABLEVERSION()

About DeleteTableVersion

Deletes a specified version of a table.

Method Signature

IMPORTING

Required arguments:

IV_DATABASENAME TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING

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

IV_TABLENAME TYPE /AWS1/GLUNAMESTRING /AWS1/GLUNAMESTRING

The name of the table. For Hive compatibility, this name is entirely lowercase.

IV_VERSIONID TYPE /AWS1/GLUVERSIONSTRING /AWS1/GLUVERSIONSTRING

The ID of the table version to be deleted. A VersionID is a string representation of an integer. Each version is incremented by 1.

Optional arguments:

IV_CATALOGID TYPE /AWS1/GLUCATALOGIDSTRING /AWS1/GLUCATALOGIDSTRING

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_GLUDELETETABLEVRSRSP /AWS1/CL_GLUDELETETABLEVRSRSP