Skip to content

Commit

Permalink
fix: can't show duckdb table names in the "SEE TABLE SCHEMA" dropdown…
Browse files Browse the repository at this point in the history
… list (#21495)
  • Loading branch information
forestlzj committed Sep 19, 2022
1 parent 7e2e8b8 commit fdb4702
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions superset/db_engine_specs/duckdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,4 @@ def convert_dttm(
def get_table_names(
cls, database: Database, inspector: Inspector, schema: Optional[str]
) -> List[str]:
"""Need to disregard the schema for DuckDB"""
return sorted(inspector.get_table_names())
return sorted(inspector.get_table_names(schema))

0 comments on commit fdb4702

Please sign in to comment.