From fdb470233282730c87d17d1b1ab094d9980a21a2 Mon Sep 17 00:00:00 2001 From: forestlzj <1986586@qq.com> Date: Mon, 19 Sep 2022 11:28:49 +0800 Subject: [PATCH] fix: can't show duckdb table names in the "SEE TABLE SCHEMA" dropdown list (#21495) --- superset/db_engine_specs/duckdb.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/superset/db_engine_specs/duckdb.py b/superset/db_engine_specs/duckdb.py index 9f2d7422128b1..c47282e9b73f9 100644 --- a/superset/db_engine_specs/duckdb.py +++ b/superset/db_engine_specs/duckdb.py @@ -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))