Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix: revert #326 which breaks DESCRIBE table for some non Glue Catalog users #404

Merged
merged 2 commits into from
Aug 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/databricks/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: str = "1.6.0"
version: str = "1.6.1"
2 changes: 1 addition & 1 deletion dbt/adapters/databricks/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down