mirror of
https://github.com/apache/superset.git
synced 2024-09-07 06:17:45 -04:00
fix(sql lab): Use quote_schema instead of quote method to format schema name (#26281)
This commit is contained in:
parent
3f9183a162
commit
9d3796828c
@ -1433,8 +1433,9 @@ class BaseEngineSpec: # pylint: disable=too-many-public-methods
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user