Skip to content

[CALCITE-4767] Add Quoting.BQ_BACK_TICK to support BQ identifier syntax#153

Closed
jackscott6174 wants to merge 1 commit intoapache:masterfrom
jackscott6174:jackscott/bq-quoting
Closed

[CALCITE-4767] Add Quoting.BQ_BACK_TICK to support BQ identifier syntax#153
jackscott6174 wants to merge 1 commit intoapache:masterfrom
jackscott6174:jackscott/bq-quoting

Conversation

@jackscott6174
Copy link

BigQuery uses \` to escape backticks in identifiers, instead of the usual ``. We need a separate Quoting enum value to allow the Calcite SQL parser to distinguish between these syntaxes.

See CALCITE-4767 for more details.

julianhyde added a commit to julianhyde/calcite-avatica that referenced this pull request Sep 17, 2021
BACK_TICK_BACKSLASH is added to support Google BigQuery's
identifier syntax.

We also add SINGLE_QUOTE and SINGLE_QUOTE_BACKSLASH, which
are not used by any known dialect, for possible future use.

Close apache#153
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