This is an automated email from the ASF dual-hosted git repository.
tanner pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git
from e7c1f0c9ba [CALCITE-6359] Update GitHub Actions workflows to use
docker compose v2
add cc1d46a4c4 [CALCITE-2980] Implement the FORMAT clause of the CAST
operator
No new revisions were added by this update.
Summary of changes:
core/src/main/codegen/templates/Parser.jj | 2 +
.../calcite/adapter/enumerable/RexImpTable.java | 20 +-
.../adapter/enumerable/RexToLixTranslator.java | 414 +++++++++--------
.../java/org/apache/calcite/rex/RexBuilder.java | 55 ++-
.../main/java/org/apache/calcite/rex/RexCall.java | 4 +
.../java/org/apache/calcite/rex/RexSimplify.java | 11 +-
.../org/apache/calcite/runtime/SqlFunctions.java | 6 +-
.../apache/calcite/sql/fun/SqlCastFunction.java | 27 +-
.../calcite/sql2rel/StandardConvertletTable.java | 9 +-
.../src/main/java/org/apache/calcite/util/Bug.java | 10 +
.../org/apache/calcite/util/BuiltInMethod.java | 6 +-
.../apache/calcite/util/format/FormatModels.java | 7 +-
core/src/test/resources/sql/cast-with-format.iq | 503 ++++++++++++---------
.../apache/calcite/sql/parser/SqlParserTest.java | 21 +
.../apache/calcite/sql/test/AbstractSqlTester.java | 2 +-
.../org/apache/calcite/test/SqlOperatorTest.java | 157 +++++++
16 files changed, 838 insertions(+), 416 deletions(-)