From 68b02dfd4af15bc94a91a0cd2a30655d04439555 Mon Sep 17 00:00:00 2001 From: Andrei Sereda <25229979+asereda-gs@users.noreply.github.com> Date: Fri, 7 Aug 2020 20:50:10 -0400 Subject: [PATCH] [CALCITE-4169] Release Calcite 1.25.0 --- README | 2 +- site/_docs/history.md | 78 +++++++++++++++++++++++++++++++++++++++++++ site/_docs/howto.md | 6 ++-- 3 files changed, 82 insertions(+), 4 deletions(-) diff --git a/README b/README index afd5af1ca06b..9ff1edbf18d6 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Apache Calcite release 1.24.0 +Apache Calcite release 1.25.0 This is a source or binary distribution of Apache Calcite. diff --git a/site/_docs/history.md b/site/_docs/history.md index 685fc7ea7992..e4ff681f15ee 100644 --- a/site/_docs/history.md +++ b/site/_docs/history.md @@ -27,6 +27,84 @@ For a full list of releases, see github. Downloads are available on the [downloads page]({{ site.baseurl }}/downloads/). + +## 1.25.0 / 2020-08-08 +{: #v1-25-0} + +This release comes shortly after [1.24.0](#v1-24-0) (in just two weeks) and removes methods +which were deprecated in the previous version. It also introduces other breaking changes so +make sure to consult corresponding section. Notable improvements in this release are: + +* [Interval Expressions](https://issues.apache.org/jira/browse/CALCITE-4134) +(e.g. `INTERVAL '1' HOUR`, `INTERVAL -'1:2' HOUR TO MINUTE`) +* [Character Literals as Aliases](https://issues.apache.org/jira/browse/CALCITE-4080) +* [Refactor How Planner Rules are Parameterized](https://issues.apache.org/jira/browse/CALCITE-3923) +* [Spacial Functions](https://issues.apache.org/jira/browse/CALCITE-2160) + +Compatibility: This release is tested on Linux, MacOS, Microsoft Windows; +using Oracle JDK 8, 9, 10, 11, 12, 13, 14 and OpenJDK 8, 9, 10, 11, 12, 13, 14; +Guava versions 19.0 to 28.2-jre; other software versions as specified in +gradle.properties. + +#### Breaking Changes +* [CALCITE-2569] +UDFs that are table functions must implement `SqlTableFunction` and have `CURSOR` as their return type +* [CALCITE-3923] +Refactor how planner rules are parameterized +* [CALCITE-4079] +Dialect constants in `SqlDialect` can cause class initialization deadlock +* [CALCITE-4114] +Remove method `CalciteAssert.forceDecorrelate` (Jiatao Tao) +* [CALCITE-4128] +Remove dependency of File adapter on Example CSV adapter + +#### New features +* [CALCITE-2160] +Spatial: Add functions `ST_MakeGrid` and `ST_MakeGridPoints` +* [CALCITE-4134] +Interval expressions +* [CALCITE-4154] +Add a rule, `ProjectAggregateMergeRule`, to merge a `Project` onto an `Aggregate` +* [CALCITE-4080] +Allow character literals as column aliases, if `SqlConformance.allowCharLiteralAlias()` + +#### Bug fixes, API changes and minor enhancements +* [CALCITE-4139] +Prevent NPE in `ListTransientTable` +* [CALCITE-2854] +Codegen compile error when implementing unary minus function with data type `BigDecimal` (Qi Yu) +* [CALCITE-3957] +`AggregateMergeRule` should merge `SUM0` into `COUNT` even if `GROUP BY` is empty +* [CALCITE-4150] +JDBC adapter throws `UnsupportedOperationException` when generating SQL for untyped `NULL` literal (Anton Haidai) +* [CALCITE-4118] +RexSimplify might remove `CAST` from RexNode incorrectly +* [CALCITE-4145] +Exception when query from UDF field with structured type +* [CALCITE-4081] +Round-tripping a DECIMAL literal throws validation error +* [CALCITE-4132] +Estimate the number of distinct values more accurately (Liya Fan) +* [CALCITE-4102] +Some improvements to aggregate related operations (Liya Fan) + +#### Build and test suite +* [CALCITE-4141] +Make checkstyle tasks relocatable to support Gradle build cache +* [CALCITE-4137] +Checkstyle should ensure that every class has a Javadoc comment +* [CALCITE-4156] +`ReflectiveRelMetadataProvider` constructor should throw an exception (instead of assertion) when called with an empty map +* [CALCITE-4022] +Support unparse special syntax for `INSERT` (Xu Zhaohui) +* [CALCITE-4115] +Improve the prompt of using SQL keywords for sql parses (part2) +* [CALCITE-4129] +Support deep equality check for `RelNode` +* [CALCITE-4111] +Remove `VolcanoPlannerPhase` in Planner (Jiatao Tao) + + ## 1.24.0 / 2020-07-24 {: #v1-24-0} diff --git a/site/_docs/howto.md b/site/_docs/howto.md index 6ef8a6af2dba..58d3cd89dc02 100644 --- a/site/_docs/howto.md +++ b/site/_docs/howto.md @@ -38,8 +38,8 @@ Unpack the source distribution `.tar.gz` file, then build using the included maven wrapper: {% highlight bash %} -$ tar xvfz apache-calcite-1.24.0-src.tar.gz -$ cd apache-calcite-1.24.0-src +$ tar xvfz apache-calcite-1.25.0-src.tar.gz +$ cd apache-calcite-1.25.0-src $ ./gradlew build {% endhighlight %} @@ -605,7 +605,7 @@ must: * resolve the issue (do not close it as this will be done by the release manager); * select "Fixed" as resolution cause; - * mark the appropriate version (e.g., 1.24.0) in the "Fix version" field; + * mark the appropriate version (e.g., 1.25.0) in the "Fix version" field; * add a comment (e.g., "Fixed in ...") with a hyperlink pointing to the commit which resolves the issue (in GitHub or GitBox), and also thank the contributor for their contribution.