Skip to content

Commit

Permalink
fix: the tbl name in the result of show tables/views
Browse files Browse the repository at this point in the history
  • Loading branch information
TalkWIthKeyboard committed Apr 29, 2022
1 parent 3049247 commit bf5a1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt/adapters/spark/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def list_relations_without_caching(
for tbl in tables:
rel_type = ('view' if tbl['tableName'] in views.columns["viewName"].values() else 'table')
relation = self.Relation.create(
schema=tbl['database'],
schema=tbl['namespace'],
identifier=tbl['tableName'],
type=rel_type,
)
Expand Down

0 comments on commit bf5a1d6

Please sign in to comment.