Skip to content

[CALCITE-4230] In Babel for BigQuery, split quoted table names that contain dots#2147

Merged
julianhyde merged 7 commits intoapache:masterfrom
julianhyde:4230-babel-big-query
Sep 18, 2020
Merged

[CALCITE-4230] In Babel for BigQuery, split quoted table names that contain dots#2147
julianhyde merged 7 commits intoapache:masterfrom
julianhyde:4230-babel-big-query

Conversation

@julianhyde
Copy link
Contributor

No description provided.

Store StringAndPos rather than the SQL string in a test. This
makes it easier to write positive and negative tests on same
SQL string, because we don't have to keep the carets (that
indicate the error position) in the SQL string. If you want
real carets in a SQL string, you can now write "^^". Remove
the sansCarets() method, as it is no longer necessary.

Pass SqlDialect into negative and expression tests.

Add constants in SqlParserTest for common dialects.
…ls may be enclosed in single- or double-quotes, and use backslashes as escapes

In enum Lex, add new constant BIG_QUERY; add enum CharLiteralStyle.
…ty values of type List, Set or Map

Add class ImmutableNullableSet.
Fix bug translating Sarg to SQL, and add a test case for it.
(The test case only demonstrates the bug on [CALCITE-4262]
branch, where SqlToRelCovnerter uses RelBuilder.filter rather
than LogicalFilter.create, and therefore introduces a Sarg.)
@julianhyde julianhyde merged commit 6a3a7e4 into apache:master Sep 18, 2020
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