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 ecb27b9f92 [CALCITE-5493] Time zone tests in SqlFunctions should pass
in Europe/London
new c4c0bf344b [CALCITE-5491] Allow TIME and DATE to be args for
TIMESTAMPDIFF
new 13ef58b506 [CALCITE-5450] Allow 'WEEK(weekday)' time frame as argument
to functions such as EXTRACT, DATE_TRUNC; allow WEEK and QUARTER in interval
literals
The 2 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/test/resources/sql/big-query.iq | 30 +++--
core/src/main/codegen/default_config.fmpp | 2 +
core/src/main/codegen/templates/Parser.jj | 123 ++++++++++++------
.../calcite/adapter/enumerable/RexImpTable.java | 1 +
.../org/apache/calcite/rel/type/TimeFrames.java | 24 +++-
.../calcite/sql/fun/SqlLibraryOperators.java | 35 +----
.../calcite/sql/fun/SqlStdOperatorTable.java | 4 +-
.../sql/type/IntervalOperandTypeChecker.java | 11 +-
.../org/apache/calcite/sql/type/OperandTypes.java | 68 +++++++++-
.../org/apache/calcite/test/SqlValidatorTest.java | 30 +++++
.../org/apache/calcite/test/TimeFrameTest.java | 10 ++
site/_docs/reference.md | 13 +-
.../apache/calcite/sql/parser/SqlParserTest.java | 142 ++++++++++++++++++++-
.../org/apache/calcite/test/SqlOperatorTest.java | 73 ++++++++++-
14 files changed, 471 insertions(+), 95 deletions(-)