Skip to content

Commit

Permalink
Fix: revert #326 which breaks DESCRIBE table for some non Glue Catalo…
Browse files Browse the repository at this point in the history
…g users (#404)

* Bump version number

Signed-off-by: Jesse Whitehouse <[email protected]>
  • Loading branch information
Jesse authored Aug 2, 2023
1 parent cc5c1a8 commit 3a254ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
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

0 comments on commit 3a254ef

Please sign in to comment.