Allows to fetch column metadata of a given table.
Here, datasource is an object resolver query that returns exactly one datasource. Refer to Section 18.5. Object Resolver for more information on object resolver queries.
The following example prints the metadata of the ''T_AGG_CUSTOMER'' table in the Datasource with id 123:
columnsMetadata id:DatasourceDefinition:123 T_AGG_CUSTOMER
The default metadata printed is the following:
Metadata documentation of the columns above can be found here: https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/DatabaseMetaData.html#getColumns(java.lang.String,java.lang.String,java.lang.String,java.lang.String).
You may append, additionally to the default columns listed above, any number of the available metadata columns by passing them as arguments. E.g. you may choose to append TABLE_SCHEM and CHAR_OCTET_LENGTH as such:
columnsMetadata id:DatasourceDefinition:123 T_AGG_CUSTOMER TABLE_SCHEM CHAR_OCTET_LENGTH
Use: columnsMetadata datasource table [column] [column...]