commit | c2d0d66722212f3cc674bcac26376195bfe6f1af | [log] [tgz] |
---|---|---|
author | Julian Hyde <jhyde@apache.org> | Tue Oct 12 21:36:20 2021 -0700 |
committer | Julian Hyde <jhyde@apache.org> | Wed Oct 13 10:31:11 2021 -0700 |
tree | 5bdd4651eaf60f0899377f3cb29b492650bfcfc8 | |
parent | a250ab0de827f221eb0bec780f5454f33cd7e782 [diff] |
[CALCITE-4847] Parse SQL with BigQuery-style quoted identifiers and character literals In BigQuery, identifiers are quoted with backticks and an included backtick is escaped with a backslash; character literals are quoted with single-quotes or double-quotes and an included quote is escaped with a backslash. The parser enters this mode if you specify 'dialect=BIG_QUERY', 'lex=BIG_QUERY', or 'quoting=BACK_TICK_BACKSLASH' in the connect string. The connect string parameter 'quoting' previously allowed values 'DOUBLE_QUOTE', 'BACK_TICK' and 'BRACKET', and now also allows 'BACK_TICK_BACKSLASH'.
Apache Calcite is a dynamic data management framework.
It contains many of the pieces that comprise a typical database management system but omits the storage primitives. It provides an industry standard SQL parser and validator, a customisable optimizer with pluggable rules and cost functions, logical and physical algebraic operators, various transformation algorithms from SQL to algebra (and the opposite), and many adapters for executing SQL queries over Cassandra, Druid, Elasticsearch, MongoDB, Kafka, and others, with minimal configuration.
For more details, see the home page.