fix: can't show duckdb table names in the "SEE TABLE SCHEMA" dropdown list (#21495)

This commit is contained in:
forestlzj 2022-09-19 11:28:49 +08:00 committed by GitHub
parent 7e2e8b8ad9
commit fdb4702332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -76,5 +76,4 @@ class DuckDBEngineSpec(BaseEngineSpec):
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))