Is there an existing issue for this?
Current Behavior
When a Unity Catalog name contains hyphens (e.g., arc-dbx-uc-cdp), SQL queries executed through SQLWarehouse and UnityCatalog classes fail with parse errors. Databricks SQL interprets the hyphens as minus operators, causing statements like SHOW SCHEMAS IN arc-dbx-uc-cdp to fail.
This affects all SQL operations that reference the catalog by name: SHOW SCHEMAS, SHOW TABLES, DESCRIBE, information_schema queries, and SHOW VOLUMES.
Expected Behavior
Catalog names containing hyphens should be automatically backtick-quoted so that SQL queries execute correctly. For example, SHOW SCHEMAS IN arc-dbx-uc-cdp should become SHOW SCHEMAS IN arc-dbx-uc-cdp``.
Steps To Reproduce
- Configure OntoBricks to connect to a Databricks workspace
- Have a Unity Catalog with a hyphenated name (e.g.,
arc-dbx-uc-cdp)
- Browse schemas or tables for that catalog through the OntoBricks UI
- SQL queries fail because the catalog name is not backtick-quoted
Cloud
Azure
Browser
Chrome
OntoBricks Version
0.5.2
Relevant log output
Additional Context
No response
Is there an existing issue for this?
Current Behavior
When a Unity Catalog name contains hyphens (e.g.,
arc-dbx-uc-cdp), SQL queries executed throughSQLWarehouseandUnityCatalogclasses fail with parse errors. Databricks SQL interprets the hyphens as minus operators, causing statements likeSHOW SCHEMAS IN arc-dbx-uc-cdpto fail.This affects all SQL operations that reference the catalog by name: SHOW SCHEMAS, SHOW TABLES, DESCRIBE, information_schema queries, and SHOW VOLUMES.
Expected Behavior
Catalog names containing hyphens should be automatically backtick-quoted so that SQL queries execute correctly. For example,
SHOW SCHEMAS IN arc-dbx-uc-cdpshould becomeSHOW SCHEMAS INarc-dbx-uc-cdp``.Steps To Reproduce
arc-dbx-uc-cdp)Cloud
Azure
Browser
Chrome
OntoBricks Version
0.5.2
Relevant log output
Additional Context
No response