Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/databricks/sqlalchemy/dialect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def has_table(self, connection, table_name, schema=None, **kwargs) -> bool:
DBR_GT_12_NOT_FOUND_STRING = "TABLE_OR_VIEW_NOT_FOUND"

try:
res = connection.execute(f"DESCRIBE TABLE {table_name}")
res = connection.execute(f"DESCRIBE TABLE `{schema}`.{table_name}")
return True
except DatabaseError as e:
if DBR_GT_12_NOT_FOUND_STRING in str(
Expand Down