mirror of
https://github.com/apache/superset.git
synced 2026-04-22 01:24:43 +00:00
[sql lab] fixes issues specific to Sqlite (#2606)
This commit is contained in:
committed by
GitHub
parent
959a09cc92
commit
fc7bd63039
@@ -626,7 +626,8 @@ class Database(Model, AuditMixinNullable):
|
||||
tables_dict = self.db_engine_spec.fetch_result_sets(
|
||||
self, 'table', force=force)
|
||||
return tables_dict.get("", [])
|
||||
return sorted(self.inspector.get_table_names(schema))
|
||||
return sorted(
|
||||
self.db_engine_spec.get_table_names(self.inspector, schema))
|
||||
|
||||
def all_view_names(self, schema=None, force=False):
|
||||
if not schema:
|
||||
|
||||
Reference in New Issue
Block a user