rusackas commented on code in PR #41492:
URL: https://github.com/apache/superset/pull/41492#discussion_r3662389798


##########
superset/db_engine_specs/base.py:
##########
@@ -540,6 +540,15 @@ class BaseEngineSpec:  # pylint: 
disable=too-many-public-methods
     arraysize = 0
     max_column_name_length: int | None = None
 
+    # Characters used to quote identifiers (table/column names) that aren't 
simple.
+    # Defaults to ANSI double quotes; dialects that differ override these — 
e.g.
+    # MySQL/MariaDB use backticks and SQL Server uses square brackets. Embedded
+    # quote characters are escaped by doubling the closing character. These are
+    # surfaced to the client (see `get_public_information`) so identifier 
quoting
+    # stays owned by the engine spec rather than duplicated per client.
+    identifier_quote_start: str = '"'
+    identifier_quote_end: str = '"'

Review Comment:
   Good catch, fixed! Added backtick overrides to `BigQueryEngineSpec` 
(BigQuery quotes identifiers with backticks, not ANSI double quotes) and 
updated the two tests that assumed double quotes.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to