Skip to content

[CALCITE-4767] Add identifierEscapedQuoteString Dialect Property - #2526

Closed
jackscott6174 wants to merge 1 commit into
apache:masterfrom
jackscott6174:jackscott/bq-quote
Closed

[CALCITE-4767] Add identifierEscapedQuoteString Dialect Property#2526
jackscott6174 wants to merge 1 commit into
apache:masterfrom
jackscott6174:jackscott/bq-quote

Conversation

@jackscott6174

@jackscott6174 jackscott6174 commented Sep 17, 2021

Copy link
Copy Markdown

Allows dialects to specify their strategy for escaping quotes in identifiers. Currently BigQuery is the only dialect that doesn't use `` or '', instead using \` to escape ` in identifiers. The logic is copied directly from literalEscapedQuoteString.

Note that this fixes only the SQL generation side of the BigQuery quoting – we need to wait for the Avatica upgrade (CALCITE-4762) that will include julianhyde/calcite-avatica@f575ca8 in order to fix SQL parsing for \` in BigQuery.

@jackscott6174
jackscott6174 deleted the jackscott/bq-quote branch September 17, 2021 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant