Explain table with business semantics
hana_explain_tableExplain a table's column metadata, optionally enriched with business semantics from HANA_SEMANTICS_PATH or URL. Supports cross-tenant MDC catalog access via catalog_database.
Instructions
Return column metadata merged with optional business semantics from HANA_SEMANTICS_PATH or HANA_SEMANTICS_URL (JSON keys: SCHEMA.TABLE or DB.SCHEMA.TABLE when catalog_database is set). Optional catalog_database reads SYS.* from another MDC database (e.g. HSP).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Table name | |
| schema_name | No | Schema containing the table (optional if HANA_SCHEMA is set) | |
| catalog_database | No | Optional HANA database for SYS.TABLE_COLUMNS (MDC cross-tenant). Overrides HANA_METADATA_CATALOG_DATABASE when set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | Yes | ||
| columns | Yes | ||
| catalog_database | No | ||
| tableDescription | No |