mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: handle empty catalog when DB supports them (#29840)
This commit is contained in:
@@ -1159,7 +1159,7 @@ class DatabaseRestApi(BaseSupersetModelRestApi):
|
||||
self.incr_stats("init", self.select_star.__name__)
|
||||
try:
|
||||
result = database.select_star(
|
||||
Table(table_name, schema_name),
|
||||
Table(table_name, schema_name, database.get_default_catalog()),
|
||||
latest_partition=True,
|
||||
)
|
||||
except NoSuchTableError:
|
||||
|
||||
Reference in New Issue
Block a user