Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 5a923f8

Browse files
committed
Fix merge issue
1 parent 6a61c06 commit 5a923f8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

sqeleton/databases/redshift.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@ def query_table_schema(self, path: DbPath) -> Dict[str, tuple]:
142142
try:
143143
return super().query_table_schema(path)
144144
except RuntimeError:
145-
return self.query_external_table_schema(path)
145+
try:
146+
return self.query_external_table_schema(path)
147+
except RuntimeError:
148+
return self.query_pg_get_cols()
146149

147150
def _normalize_table_path(self, path: DbPath) -> DbPath:
148151
if len(path) == 1:

0 commit comments

Comments
 (0)