This is an automated email from the ASF dual-hosted git repository.
jhyde pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
from c330aa30fd [CALCITE-5407] MongoDB adapter throws NullPointerException
when converting an array
add e426bd2637 [CALCITE-5430] Add IFNULL function (enabled in BigQuery
library, equivalent to NVL)
add dd6158ad9e [CALCITE-5454] Enable != and % operators under BigQuery SQL
conformance
add a7d34b89c6 [CALCITE-5452] Add LENGTH function (enabled in BigQuery
library, equivalent to CHAR_LENGTH)
add f68f9736c9 [CALCITE-5432] Add TIME_ADD, TIME_DIFF functions (enabled
in BigQuery library)
add bdb4e1fb5d [CALCITE-5447] Add DATE_TRUNC function (enabled in BigQuery
library)
new 5dbfb6e95e [CALCITE-5436] Add TIMESTAMP_SUB, TIME_SUB, DATE_SUB
functions (enabled in BigQuery library)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
babel/src/main/codegen/config.fmpp | 1 +
babel/src/test/resources/sql/big-query.iq | 177 ++++++++++---
core/src/main/codegen/default_config.fmpp | 2 +
core/src/main/codegen/templates/Parser.jj | 67 +++++
.../calcite/adapter/enumerable/RexImpTable.java | 3 +-
.../main/java/org/apache/calcite/sql/SqlKind.java | 16 +-
.../sql/fun/SqlDatetimeSubtractionOperator.java | 21 +-
.../calcite/sql/fun/SqlInternalOperators.java | 7 +
.../calcite/sql/fun/SqlLibraryOperators.java | 109 ++++++--
.../calcite/sql/fun/SqlStdOperatorTable.java | 28 +-
.../calcite/sql/fun/SqlTimestampDiffFunction.java | 28 +-
.../sql/type/IntervalOperandTypeChecker.java | 5 +-
.../org/apache/calcite/sql/type/OperandTypes.java | 3 +
.../calcite/sql/validate/SqlConformanceEnum.java | 2 +
.../calcite/sql2rel/ReflectiveConvertletTable.java | 2 +
.../calcite/sql2rel/StandardConvertletTable.java | 54 +++-
site/_docs/reference.md | 20 +-
.../calcite/sql/test/SqlOperatorFixture.java | 13 +
.../org/apache/calcite/test/SqlOperatorTest.java | 282 +++++++++++++++++++--
19 files changed, 713 insertions(+), 127 deletions(-)