This is an automated email from the ASF dual-hosted git repository. liyafan pushed a commit to tag calcite-1.30.0-rc0 in repository https://gitbox.apache.org/repos/asf/calcite.git
commit f14cf4c32b9079984a988bbad40230aa6a59b127 Author: liyafan82 <[email protected]> AuthorDate: Mon Mar 7 13:46:43 2022 +0800 [CALCITE-5031] Release Calcite 1.30.0 --- NOTICE | 2 +- README | 2 +- site/_docs/history.md | 149 +++++++++++++++++++++++++++++++ site/_docs/howto.md | 6 +- site/_posts/2022-03-04-release-1.30.0.md | 38 ++++++++ 5 files changed, 192 insertions(+), 5 deletions(-) diff --git a/NOTICE b/NOTICE index aa41bc5..fb342f9 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Apache Calcite -Copyright 2012-2021 The Apache Software Foundation +Copyright 2012-2022 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). diff --git a/README b/README index 4543b360..3365c5e 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Apache Calcite release 1.29.0 +Apache Calcite release 1.30.0 This is a source or binary distribution of Apache Calcite. diff --git a/site/_docs/history.md b/site/_docs/history.md index 98fbeed..d144cef 100644 --- a/site/_docs/history.md +++ b/site/_docs/history.md @@ -29,6 +29,155 @@ Downloads are available on the [downloads page]({{ site.baseurl }}/downloads/). +## <a href="https://github.com/apache/calcite/releases/tag/calcite-1.30.0">1.30.0</a> / 2022-03-04 +{: #v1-30-0} + +This release comes two months after [1.29.0](#v1-29-0), +contains contributions from 29 authors, +and resolves 37 issues. + +Compatibility: This release is tested on Linux, macOS, Microsoft Windows; +using JDK/OpenJDK versions 8 to 17; +Guava versions 19.0 to 31.0.1-jre; +other software versions as specified in gradle.properties. + +Contributors to this release: + +Alessandro Solimando, +Bill Neil, +Chen Kai, +Eugen Stan, +Feng Zhu, +Jacques Nadeau, +Jake Xie, +Jay Narale, +Jiatao Tao, +Jing Zhang, +Julian Hyde, +LM Kang, +Liya Fan (release manager), +Marco Jorge, +Marieke Gueye, +NobiGo, +Roman Puchkovskiy, +Ruben Quesada Lopez, +Scott Reynolds, +Soumyakanti Das, +Stamatis Zampetakis, +Vova Vysotskyi, +Will Noble, +Xiong Duan, +Yanjing Wang, +Yiqun Zhang, +Xurenhe, +Zhe Hu, +mans2singh. + +#### New features +{: #new-features-1-30-0} + +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4822">CALCITE-4822</a>] + Add `ARRAY_CONCAT`, `ARRAY_REVERSE`, `ARRAY_LENGTH` functions for BigQuery dialect +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4980">CALCITE-4980</a>] + Make Babel parser support MySQL NULL-safe equal operator '<=>' +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4967">CALCITE-4967</a>] + Support SQL hints for temporal table join +* [<a href="https://issues.apache.org/jira/browse/CALCITE-3673">CALCITE-3673</a>] + Support `ListTransientTable` without tables in the schema + +### Improvements +{: #fixes-1-30-0} + +* [<a href="https://issues.apache.org/jira/browse/CALCITE-5019">CALCITE-5019</a>] + Avoid multiple scans when the table is `ProjectableFilterableTable` +* [<a href="https://issues.apache.org/jira/browse/CALCITE-5008">CALCITE-5008</a>] + Ignore synthetic and static methods in `MetadataDef` during instrumentation +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4996">CALCITE-4996</a>] + In `RelJson`, add a `readExpression` method that converts JSON to a RexNode expression +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4994">CALCITE-4994</a>] + Improve the performance of SQL-to-RelNode conversion when the table contains hundreds of fields +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4991">CALCITE-4991</a>] + Make RuleEventLogger print input rels in `FULL_PLAN` mode +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4986">CALCITE-4986</a>] + Make `HepProgram` thread-safe +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4963">CALCITE-4963</a>] + Improve the extensibility of `SqlDialectFactory` by making the default behavior in + `SqlDialectFactoryImpl` reusable +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4960">CALCITE-4960</a>] + Enable unit tests in Elasticsearch Adapter +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4953">CALCITE-4953</a>] + Deprecate `TableAccessMap` class +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4952">CALCITE-4952</a>] + Enable use of RelMetadataQuery through a simplistic & slow proxy path +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4885">CALCITE-4885</a>] + Fluent test fixtures so that dependent projects can write parser, validator and rules tests +* [<a href="https://issues.apache.org/jira/browse/CALCITE-1794">CALCITE-1794</a>] + Simplify expressions with numeric comparisons when CAST is present + +#### Bug-fixes +{: #fixes-1-30-0} + +* [<a href="https://issues.apache.org/jira/browse/CALCITE-5011">CALCITE-5011</a>] + Fix the initialization error for `CassandraAdapterDataTypesTest` +* [<a href="https://issues.apache.org/jira/browse/CALCITE-5006">CALCITE-5006</a>] + Make Gradle tasks for launching JDBC integration tests working +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4997">CALCITE-4997</a>] + Keep `APPROX_COUNT_DISTINCT` in some `SqlDialect`s +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4995">CALCITE-4995</a>] + Fix `AssertionError` caused by `RelFieldTrimmer` on SEMI/ANTI join +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4988">CALCITE-4988</a>] + Expression `((A IS NOT NULL OR B) AND A IS NOT NULL)` can't be simplify to `(A IS NOT NULL)` when `A` + is deterministic +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4968">CALCITE-4968</a>] + Fix the invalid MS SQL queries generated by Calcite for the query with `LIMIT` statement +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4965">CALCITE-4965</a>] + Fix the failure of IS NOT NULL in Elasticsearch Adapter +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4912">CALCITE-4912</a>] + Fix the confusing Javadoc of `RexSimplify#simplify` +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4901">CALCITE-4901</a>] + Fix the problem that JDBC adapter incorrectly adds ORDER BY columns to the SELECT + list of generated SQL query +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4872">CALCITE-4872</a>] + Fix the problem that UNKNOWN SqlTypeName is erroneously treated as NULL +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4702">CALCITE-4702</a>] + Fix the error when executing query with GROUP BY constant via JDBC adapter +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4683">CALCITE-4683</a>] + Fix the type mismatch exception when IN-list is converted to JOIN +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4323">CALCITE-4323</a>] + If a view definition has an ORDER BY clause, retain the sort if the view is used in a + query at top level +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4292">CALCITE-4292</a>] + Fix wrong results in ElasticSearch when query contains 'NOT EQUAL' +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4054">CALCITE-4054</a>] + Fix NPE caused by RepeatUnion containing a Correlate with a transientScan on its RHS +* [<a href="https://issues.apache.org/jira/browse/CALCITE-3627">CALCITE-3627</a>] + Fix the incorrect null semantic for ROW function + +#### Dependency version upgrade +{: #dependency-1-30-0} + +* [<a href="https://issues.apache.org/jira/browse/CALCITE-5030">CALCITE-5030</a>] + Upgrade jsonpath version from 2.4.0 to 2.7.0 +* [<a href="https://issues.apache.org/jira/browse/CALCITE-5025">CALCITE-5025</a>] + Upgrade commons-io version from 2.4 to 2.11.0 +* [<a href="https://issues.apache.org/jira/browse/CALCITE-5007">CALCITE-5007</a>] + Upgrade H2 database version to 2.1.210 +* [<a href="https://issues.apache.org/jira/browse/CALCITE-4973">CALCITE-4973</a>] + Upgrade log4j2 version to 2.17.1 + +#### Web site and documentation +{: #site-1-30-0} + +* Site: Update PMC Chair +* Site: Add external resources section in the community page +* Site: Add "calcite-clj - Use Calcite with Clojure" in talks section +* Site: Add Alessandro Solimando as committer +* Site: Fix typo in howto.md +* Site: Change the javadoc title to Apache Calcite API +* Site: For tables that display results, center the content horizontally +* Site: Add syntax highlighting to SQL statements +* Site: Improve HTML tables display & update CSV tutorial + ## <a href="https://github.com/apache/calcite/releases/tag/calcite-1.29.0">1.29.0</a> / 2021-12-26 {: #v1-29-0} diff --git a/site/_docs/howto.md b/site/_docs/howto.md index c5d1df1..07e8d09 100644 --- a/site/_docs/howto.md +++ b/site/_docs/howto.md @@ -39,8 +39,8 @@ Unpack the source distribution `.tar.gz` file, then build using Gradle: {% highlight bash %} -$ tar xvfz apache-calcite-1.29.0-src.tar.gz -$ cd apache-calcite-1.29.0-src +$ tar xvfz apache-calcite-1.30.0-src.tar.gz +$ cd apache-calcite-1.30.0-src $ gradle 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.29.0) in the "Fix version" field; + * mark the appropriate version (e.g., 1.30.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. diff --git a/site/_posts/2022-03-04-release-1.30.0.md b/site/_posts/2022-03-04-release-1.30.0.md new file mode 100644 index 0000000..8a91ec8 --- /dev/null +++ b/site/_posts/2022-03-04-release-1.30.0.md @@ -0,0 +1,38 @@ +--- +layout: news_item +date: "2022-03-04 00:00:00 +0800" +author: liyafan82 +version: 1.30.0 +categories: [release] +tag: v1-30-0 +sha: +--- +<!-- +{% comment %} +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to you under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} +--> + +The [Apache Calcite PMC]({{ site.baseurl }}) +is pleased to announce +[Apache Calcite release 1.30.0]({{ site.baseurl }}/docs/history.html#v1-30-0). + +This release comes two months after [1.29.0](#v1-29-0), +contains contributions from 29 authors, +and resolves 37 issues. + +This release fixes vulnerability issues +such as CVE-2021-27568.
