diff --git a/CHANGELOG.md b/CHANGELOG.md index 102b6be4..eb90832b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## dbt-databricks 1.6.x (Release TBD) +## dbt-databricks 1.6.1 (August 2, 2023) + +### Fixes + +- Revert change from #326 as it breaks DESCRIBE table in cases where the dbt API key does not have access to all tables in the schema + ## dbt-databricks 1.6.0 (August 2, 2023) ### Features diff --git a/dbt/adapters/databricks/__version__.py b/dbt/adapters/databricks/__version__.py index 22a21564..5dba0cb4 100644 --- a/dbt/adapters/databricks/__version__.py +++ b/dbt/adapters/databricks/__version__.py @@ -1 +1 @@ -version: str = "1.6.0" +version: str = "1.6.1" diff --git a/dbt/adapters/databricks/impl.py b/dbt/adapters/databricks/impl.py index d4a5738b..95e4cf5d 100644 --- a/dbt/adapters/databricks/impl.py +++ b/dbt/adapters/databricks/impl.py @@ -452,7 +452,7 @@ def _get_one_catalog( schema_relation = self.Relation.create( database=database, schema=schema, - identifier=("|".join(table_names) if len("|".join(table_names)) < 2048 else "*"), + identifier="|".join(table_names), quote_policy=self.config.quoting, ) for relation, information in self._list_relations_with_information(schema_relation):