Skip to content

fix: dbt alias databricks catalog to database#2161

Merged
eakmanrq merged 1 commit intomainfrom
eakmanrq/alias_databricks_database_to_catalog
Feb 21, 2024
Merged

fix: dbt alias databricks catalog to database#2161
eakmanrq merged 1 commit intomainfrom
eakmanrq/alias_databricks_database_to_catalog

Conversation

@eakmanrq
Copy link
Contributor

We assume in the code that database is set by all connection configs to mean the catalog: https://github.com/TobikoData/sqlmesh/blob/b5926ab464a55f3c0a87fc159df0d2ada11b4d96/sqlmesh/dbt/loader.py#L153

So we just alias catalog to be database for Databricks since it doesn't support the database argument.

@eakmanrq eakmanrq requested a review from crericha February 21, 2024 20:59
@eakmanrq eakmanrq merged commit e772a01 into main Feb 21, 2024
@eakmanrq eakmanrq deleted the eakmanrq/alias_databricks_database_to_catalog branch February 21, 2024 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants