Skip to content

Commit

Permalink
fix(sql lab): Use quote_schema instead of quote method to format sche…
Browse files Browse the repository at this point in the history
…ma name (#26281)
  • Loading branch information
guenp authored Dec 20, 2023
1 parent 3f9183a commit 9d37968
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/db_engine_specs/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1433,8 +1433,9 @@ def select_star( # pylint: disable=too-many-arguments,too-many-locals
if show_cols:
fields = cls._get_fields(cols)
quote = engine.dialect.identifier_preparer.quote
quote_schema = engine.dialect.identifier_preparer.quote_schema
if schema:
full_table_name = quote(schema) + "." + quote(table_name)
full_table_name = quote_schema(schema) + "." + quote(table_name)
else:
full_table_name = quote(table_name)

Expand Down

0 comments on commit 9d37968

Please sign in to comment.