Skip to content

/AWS1/CL_GLUCATALOGSOURCE

Specifies a data store in the Glue Data Catalog.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/GLUNODENAME /AWS1/GLUNODENAME

The name of the data store.

iv_database TYPE /AWS1/GLUENCLOSEDINSTRINGPRP /AWS1/GLUENCLOSEDINSTRINGPRP

The name of the database to read from.

iv_table TYPE /AWS1/GLUENCLOSEDINSTRINGPRP /AWS1/GLUENCLOSEDINSTRINGPRP

The name of the table in the database to read from.

Optional arguments:

iv_partitionpredicate TYPE /AWS1/GLUENCLOSEDINSTRINGPRP /AWS1/GLUENCLOSEDINSTRINGPRP

Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not deleted.

it_outputschemas TYPE /AWS1/CL_GLUGLUESCHEMA=>TT_GLUESCHEMAS TT_GLUESCHEMAS

Specifies the data schema for the catalog source.


Queryable Attributes

Name

The name of the data store.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

Database

The name of the database to read from.

Accessible with the following methods

Method Description
GET_DATABASE() Getter for DATABASE, with configurable default
ASK_DATABASE() Getter for DATABASE w/ exceptions if field has no value
HAS_DATABASE() Determine if DATABASE has a value

Table

The name of the table in the database to read from.

Accessible with the following methods

Method Description
GET_TABLE() Getter for TABLE, with configurable default
ASK_TABLE() Getter for TABLE w/ exceptions if field has no value
HAS_TABLE() Determine if TABLE has a value

PartitionPredicate

Partitions satisfying this predicate are deleted. Files within the retention period in these partitions are not deleted.

Accessible with the following methods

Method Description
GET_PARTITIONPREDICATE() Getter for PARTITIONPREDICATE, with configurable default
ASK_PARTITIONPREDICATE() Getter for PARTITIONPREDICATE w/ exceptions if field has no
HAS_PARTITIONPREDICATE() Determine if PARTITIONPREDICATE has a value

OutputSchemas

Specifies the data schema for the catalog source.

Accessible with the following methods

Method Description
GET_OUTPUTSCHEMAS() Getter for OUTPUTSCHEMAS, with configurable default
ASK_OUTPUTSCHEMAS() Getter for OUTPUTSCHEMAS w/ exceptions if field has no value
HAS_OUTPUTSCHEMAS() Determine if OUTPUTSCHEMAS has a value