You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by jh...@apache.org on 2022/09/10 16:37:19 UTC

[calcite] branch main updated (9fc50f24b -> e2f949d5d)

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


    omit 9fc50f24b Prepare for next development iteration
    omit 413eded69 [CALCITE-5275] Release Calcite 1.32.0
    omit 57aafa355 Cosmetic changes to release notes
    omit 262492527 [CALCITE-5262] Add many spatial functions, including support for WKB (well-known binary) and GeoJSON
    omit 479afa681 [CALCITE-5278] Upgrade Janino from 3.1.6 to 3.1.8
    omit 1167b1257 [CALCITE-5270] JDBC adapter should not generate 'FILTER (WHERE)' in Firebolt dialect
    omit 89c940cc8 [CALCITE-5241] Implement CHAR function for MySQL and Spark, also JDBC '{fn CHAR(n)}'
    omit d20fd09a1 [CALCITE-5274] Improve DocumentBuilderFactory in DiffRepository test class by using secure features
    omit 6302e6fa8 [CALCITE-5277] Make EnumerableRelImplementor stashedParameters order deterministic to increase BINDABLE_CACHE hit rate
    omit baeecc82b [CALCITE-5251] Support SQL hint for Snapshot
    omit ba80b9156 [CALCITE-5263] Improve XmlFunctions by using an XML DocumentBuilder
    omit df8ee289b Add tests for correlated CTEs
    omit 250d13c56 [CALCITE-4294] Use JTS and proj4j rather than ESRI as the underlying library for geospatial (ST_) functions
    omit fe1455936 [CALCITE-5247] FilterJoinRule cannot simplify left join to inner join for `WHERE RHS.C1 IS NOT NULL OR RHS.C2 IS NOT NULL`
    omit 71e30e2c7 [CALCITE-4999] ARRAY, MULTISET functions should return a collection of scalars if a sub-query returns 1 column
    omit 3d39fdcee [CALCITE-5243] `SELECT NULL AS C` causes NoSuchMethodException: java.sql.ResultSet.getVoid(int)

This update removed existing revisions from the reference, leaving the
reference pointing at a previous point in the repository history.

 * -- * -- N   refs/heads/main (e2f949d5d)
            \
             O -- O -- O   (9fc50f24b)

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 README                                             |    2 +-
 bom/build.gradle.kts                               |    4 +-
 core/build.gradle.kts                              |    4 +-
 core/src/main/codegen/templates/Parser.jj          |    1 -
 .../adapter/enumerable/EnumerableCollect.java      |   30 +-
 .../enumerable/EnumerableRelImplementor.java       |   14 +-
 .../calcite/adapter/enumerable/RexImpTable.java    |    5 +-
 .../adapter/enumerable/RexToLixTranslator.java     |    8 +-
 .../adapter/jdbc/JdbcToEnumerableConverter.java    |    4 -
 .../apache/calcite/jdbc/JavaTypeFactoryImpl.java   |    4 +-
 .../main/java/org/apache/calcite/plan/Strong.java  |   27 +-
 .../java/org/apache/calcite/rel/core/Collect.java  |   45 -
 .../java/org/apache/calcite/rel/core/Snapshot.java |   33 +-
 .../apache/calcite/rel/hint/HintPredicates.java    |    5 -
 .../calcite/rel/hint/NodeTypeHintPredicate.java    |    8 +-
 .../calcite/rel/logical/LogicalSnapshot.java       |   29 +-
 .../apache/calcite/rel/mutable/MutableRels.java    |    3 +-
 .../org/apache/calcite/rel/rules/SpatialRules.java |   37 +-
 .../calcite/rel/rules/SubQueryRemoveRule.java      |   14 +-
 .../java/org/apache/calcite/rex/RexBuilder.java    |    4 +-
 .../java/org/apache/calcite/rex/RexLiteral.java    |    8 +-
 .../java/org/apache/calcite/rex/RexSubQuery.java   |    9 +-
 .../calcite/runtime/CoordinateTransformer.java     |   51 -
 .../org/apache/calcite/runtime/GeoFunctions.java   |  595 ++++++++
 .../org/apache/calcite/runtime/Geometries.java     |  293 ++++
 .../calcite/runtime/ProjectionTransformer.java     |  166 ---
 .../calcite/runtime/SpatialTypeFunctions.java      | 1424 --------------------
 .../apache/calcite/runtime/SpatialTypeUtils.java   |  261 ----
 .../org/apache/calcite/runtime/SqlFunctions.java   |   19 +-
 .../org/apache/calcite/runtime/XmlFunctions.java   |   67 +-
 .../apache/calcite/sql/SqlJdbcFunctionCall.java    |    1 -
 .../calcite/sql/dialect/FireboltSqlDialect.java    |    4 -
 .../calcite/sql/fun/SqlArrayQueryConstructor.java  |    2 +-
 ...tialTypeFunctions.java => SqlGeoFunctions.java} |   29 +-
 .../calcite/sql/fun/SqlLibraryOperators.java       |   15 +-
 .../sql/fun/SqlMultisetQueryConstructor.java       |    2 +-
 .../sql/type/JavaToSqlTypeConversionRules.java     |    4 +-
 .../org/apache/calcite/sql/type/ReturnTypes.java   |    7 -
 .../apache/calcite/sql/type/SqlTypeTransforms.java |   21 -
 .../org/apache/calcite/sql/type/SqlTypeUtil.java   |   22 -
 .../apache/calcite/sql/util/SqlOperatorTables.java |    8 +-
 .../apache/calcite/sql2rel/SqlToRelConverter.java  |    6 +-
 .../calcite/sql2rel/StandardConvertletTable.java   |   16 +-
 .../org/apache/calcite/util/BuiltInMethod.java     |    6 +-
 .../calcite/adapter/enumerable/EnumUtilsTest.java  |    6 +-
 .../calcite/rel/rel2sql/RelToSqlConverterTest.java |   34 +-
 .../org/apache/calcite/rex/RexProgramTest.java     |    3 -
 .../calcite/runtime/SpatialTypeUtilsTest.java      |   48 -
 .../apache/calcite/sql/test/SqlAdvisorTest.java    |    1 -
 .../org/apache/calcite/test/JdbcAdapterTest.java   |   13 -
 .../java/org/apache/calcite/test/JdbcTest.java     |   10 +-
 .../org/apache/calcite/test/RelOptRulesTest.java   |   42 +-
 .../apache/calcite/test/SqlHintsConverterTest.java |   13 -
 .../org/apache/calcite/test/SqlValidatorTest.java  |   32 +-
 .../apache/calcite/test/SqlXmlFunctionsTest.java   |   48 -
 .../org/apache/calcite/test/RelOptRulesTest.xml    |   70 +-
 .../apache/calcite/test/SqlHintsConverterTest.xml  |   23 +-
 core/src/test/resources/sql/functions.iq           |   15 +-
 core/src/test/resources/sql/spatial.iq             | 1196 +++-------------
 core/src/test/resources/sql/sub-query.iq           |   56 +-
 .../adapter/geode/rel/GeodeSchemaFactory.java      |    4 +-
 gradle.properties                                  |    8 +-
 site/_docs/history.md                              |  406 ++----
 site/_docs/howto.md                                |   13 +-
 site/_docs/reference.md                            |  175 ++-
 site/_docs/spatial.md                              |    2 +-
 site/_posts/2022-09-10-release-1.32.0.md           |   49 -
 src/main/config/checkstyle/suppressions.xml        |    2 +-
 .../org/apache/calcite/test/CalciteAssert.java     |   10 +-
 .../org/apache/calcite/test/DiffRepository.java    |   32 +-
 .../org/apache/calcite/test/SqlOperatorTest.java   |   53 +-
 .../java/org/apache/calcite/util/TestUtil.java     |   63 -
 .../java/org/apache/calcite/util/TestUtilTest.java |   20 -
 73 files changed, 1490 insertions(+), 4274 deletions(-)
 delete mode 100644 core/src/main/java/org/apache/calcite/runtime/CoordinateTransformer.java
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/GeoFunctions.java
 create mode 100644 core/src/main/java/org/apache/calcite/runtime/Geometries.java
 delete mode 100644 core/src/main/java/org/apache/calcite/runtime/ProjectionTransformer.java
 delete mode 100644 core/src/main/java/org/apache/calcite/runtime/SpatialTypeFunctions.java
 delete mode 100644 core/src/main/java/org/apache/calcite/runtime/SpatialTypeUtils.java
 rename core/src/main/java/org/apache/calcite/sql/fun/{SqlSpatialTypeFunctions.java => SqlGeoFunctions.java} (84%)
 delete mode 100644 core/src/test/java/org/apache/calcite/runtime/SpatialTypeUtilsTest.java
 delete mode 100644 site/_posts/2022-09-10-release-1.32.0.md