This is an automated email from the ASF dual-hosted git repository. zabetak pushed a commit to branch branch-1.21 in repository https://gitbox.apache.org/repos/asf/calcite.git
commit 034bd7942c35d5b6c948dc6863a9a086fb82386c Author: zabetak <15013153+zabe...@users.noreply.github.com> AuthorDate: Wed Sep 11 01:25:42 2019 +0200 Improve 1.21.0 release note Change passive to active voice. Add backticks around Java types and SQL keywords. Fix release date. --- site/_docs/history.md | 80 ++++++++++++++++++++++++++------------------------- 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/site/_docs/history.md b/site/_docs/history.md index eab5fb4..fb18524 100644 --- a/site/_docs/history.md +++ b/site/_docs/history.md @@ -28,28 +28,30 @@ For a full list of releases, see Downloads are available on the [downloads page]({{ site.baseurl }}/downloads/). -## <a href="https://github.com/apache/calcite/releases/tag/calcite-1.21.0">1.21.0</a> / 2019-09-06 +## <a href="https://github.com/apache/calcite/releases/tag/calcite-1.21.0">1.21.0</a> / 2019-09-11 {: #v1-21-0} This release comes two months after 1.20.0. It includes more than 100 resolved issues, comprising a large number of new features as well as general improvements -and bug-fixes. Among others, it is worth highlighting the following. - -* Added support for implicit type coercion in various contexts - (<a href="https://issues.apache.org/jira/browse/CALCITE-2302">CALCITE-2302</a>). -* Pig Latin scrips can now be transformed into algebraic plans - (<a href="https://issues.apache.org/jira/browse/CALCITE-3122">CALCITE-3122</a>). -* The basic features of MATCH_RECOGNIZE are now implemented - (<a href="https://issues.apache.org/jira/browse/CALCITE-1935">CALCITE-1935</a>). -* Correlated ANY/SOME/ALL sub-queries are now supported - (<a href="https://issues.apache.org/jira/browse/CALCITE-3031">CALCITE-3031</a>). -* The parser has been enhanced to handle ROW, ARRAY, and COLLECTION types - (<a href="https://issues.apache.org/jira/browse/CALCITE-3250">CALCITE-3250</a>, - <a href="https://issues.apache.org/jira/browse/CALCITE-3233">CALCITE-3233</a>, - <a href="https://issues.apache.org/jira/browse/CALCITE-3231">CALCITE-3231</a>). -* New join algorithms for the Enumerable convention have been added +and bug-fixes. + +It is worth highlighting that Calcite now: +* supports implicit type coercion in various contexts + (<a href="https://issues.apache.org/jira/browse/CALCITE-2302">CALCITE-2302</a>); +* allows transformations of Pig Latin scripts into algebraic plans + (<a href="https://issues.apache.org/jira/browse/CALCITE-3122">CALCITE-3122</a>); +* provides an implementation for the main features of `MATCH_RECOGNIZE` in the + `Enumerable` convention + (<a href="https://issues.apache.org/jira/browse/CALCITE-1935">CALCITE-1935</a>); +* supports correlated `ANY`/`SOME`/`ALL` sub-queries + (<a href="https://issues.apache.org/jira/browse/CALCITE-3031">CALCITE-3031</a>); +* introduces anonymous types based on `ROW`, `ARRAY`, and nested collection + (<a href="https://issues.apache.org/jira/browse/CALCITE-3233">CALCITE-3233</a>, + <a href="https://issues.apache.org/jira/browse/CALCITE-3231">CALCITE-3231</a>, + <a href="https://issues.apache.org/jira/browse/CALCITE-3250">CALCITE-3250</a>); +* brings new join algorithms for the `Enumerable` convention (<a href="https://issues.apache.org/jira/browse/CALCITE-2979">CALCITE-2979</a>, - <a href="https://issues.apache.org/jira/browse/CALCITE-2973">CALCITE-2973</a> + <a href="https://issues.apache.org/jira/browse/CALCITE-2973">CALCITE-2973</a>, <a href="https://issues.apache.org/jira/browse/CALCITE-3284">CALCITE-3284</a>). Compatibility: This release is tested @@ -112,7 +114,7 @@ other software versions as specified in `pom.xml`. * [<a href="https://issues.apache.org/jira/browse/CALCITE-2624">CALCITE-2624</a>] Add a rule to copy a sort below a join operator (Khawla Mouhoubi) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3031">CALCITE-3031</a>] - Support for correlated ANY/SOME/ALL sub-query (Vineet Garg) + Support for correlated `ANY`/`SOME`/`ALL` sub-query (Vineet Garg) * [<a href="https://issues.apache.org/jira/browse/CALCITE-2510">CALCITE-2510</a>] Implement `CHR` function (Sergey Tsvetkov, Chunwei Lei) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3176">CALCITE-3176</a>] @@ -148,7 +150,7 @@ other software versions as specified in `pom.xml`. `PigToSqlAggregateRule` should be applied on multi-set projection to produce an optimal plan (Igor Guzenko) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3295">CALCITE-3295</a>] - Add aggregate call name in serialized json string for relnode (Wang Yanlin) + Add aggregate call name in serialized json string for `RelNode` (Wang Yanlin) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3296">CALCITE-3296</a>] Decorrelator shouldn't give empty value when fetch and offset values are null in `Sort` rel (Juhwan Kim) @@ -158,10 +160,10 @@ other software versions as specified in `pom.xml`. JDBC adapter should generate `CAST(NULL AS type)` rather than `NULL` conditionally (Wang Weidong) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3220">CALCITE-3220</a>] - JDBC adapter now transforms TRIM to TRIM, LTRIM or RTRIM when target is Hive - (Jacky Woo) + JDBC adapter now transforms `TRIM` to `TRIM`, `LTRIM` or `RTRIM` when target + is Hive (Jacky Woo) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3228">CALCITE-3228</a>] - Error while applying rule ProjectScanRule: interpreter + Error while applying rule `ProjectScanRule`: interpreter * [<a href="https://issues.apache.org/jira/browse/CALCITE-3223">CALCITE-3223</a>] Materialized view fails to match when there is non-`RexInputRef` in the projects (Jin Xing) @@ -183,11 +185,11 @@ other software versions as specified in `pom.xml`. * [<a href="https://issues.apache.org/jira/browse/CALCITE-3267">CALCITE-3267</a>] Remove method `SqlDataTypeSpec#deriveType(RelDataTypefactory)` * [<a href="https://issues.apache.org/jira/browse/CALCITE-3214">CALCITE-3214</a>] - Add UnionToUnionRule for materialization matching (refine rule name) (Jin Xing) + Add `UnionToUnionRule` for materialization matching (refine rule name) (Jin Xing) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3214">CALCITE-3214</a>] - Add UnionToUnionRule for materialization matching (Jin Xing) + Add `UnionToUnionRule` for materialization matching (Jin Xing) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3249">CALCITE-3249</a>] - Substitution#getRexShuttle does not consider RexLiteral (Jin Xing) + `Substitution#getRexShuttle does not consider RexLiteral (Jin Xing) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3229">CALCITE-3229</a>] `UnsupportedOperationException` for `UPDATE` with `IN` query * [<a href="https://issues.apache.org/jira/browse/CALCITE-3236">CALCITE-3236</a>] @@ -277,27 +279,27 @@ other software versions as specified in `pom.xml`. In `Frameworks`, add `interface BasePrepareAction` (a functional interface) and deprecate `abstract class PrepareAction` * [<a href="https://issues.apache.org/jira/browse/CALCITE-3183">CALCITE-3183</a>] - During field trimming, Filter is copied with wrong traitSet (Juhwan Kim) + During field trimming, `Filter` is copied with wrong traitSet (Juhwan Kim) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3189">CALCITE-3189</a>] Multiple fixes for Oracle SQL dialect * [<a href="https://issues.apache.org/jira/browse/CALCITE-3165">CALCITE-3165</a>] - Project#accept(RexShuttle shuttle) does not update rowType + `Project#accept`(`RexShuttle` shuttle) does not update rowType * [<a href="https://issues.apache.org/jira/browse/CALCITE-3188">CALCITE-3188</a>] - IndexOutOfBoundsException in ProjectFilterTransposeRule when executing SELECT - COUNT + `IndexOutOfBoundsException` in `ProjectFilterTransposeRule` when executing + `SELECT COUNT` * [<a href="https://issues.apache.org/jira/browse/CALCITE-3160">CALCITE-3160</a>] Failed to materialize when the aggregate function uses group key (DonnyZone) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3170">CALCITE-3170</a>] ANTI join on conditions push down generates wrong plan * [<a href="https://issues.apache.org/jira/browse/CALCITE-3169">CALCITE-3169</a>] - decorrelateRel method should return when meeting SEMI/ANTI join in - RelDecorrelator + decorrelateRel method should return when meeting `SEMI`/`ANTI` join in + `RelDecorrelator` * [<a href="https://issues.apache.org/jira/browse/CALCITE-3171">CALCITE-3171</a>] - SemiJoin on conditions push down throws IndexOutOfBoundsException + `SemiJoin` on conditions push down throws `IndexOutOfBoundsException` * [<a href="https://issues.apache.org/jira/browse/CALCITE-3172">CALCITE-3172</a>] - RelBuilder#empty does not keep aliases + `RelBuilder#empty` does not keep aliases * [<a href="https://issues.apache.org/jira/browse/CALCITE-3121">CALCITE-3121</a>] - VolcanoPlanner hangs due to sub-query with dynamic star + `VolcanoPlanner` hangs due to sub-query with dynamic star * [<a href="https://issues.apache.org/jira/browse/CALCITE-3152">CALCITE-3152</a>] Unify throws in SQL parser * [<a href="https://issues.apache.org/jira/browse/CALCITE-3125">CALCITE-3125</a>] @@ -305,12 +307,12 @@ other software versions as specified in `pom.xml`. * [<a href="https://issues.apache.org/jira/browse/CALCITE-3133">CALCITE-3133</a>] Remove completely `class SemiJoinType` * [<a href="https://issues.apache.org/jira/browse/CALCITE-3126">CALCITE-3126</a>] - Remove deprecated SemiJoin usage completely + Remove deprecated `SemiJoin` usage completely * [<a href="https://issues.apache.org/jira/browse/CALCITE-3146">CALCITE-3146</a>] Support the detection of nested aggregations for `JdbcAggregate` in `SqlImplementor` (Wenhui Tang) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3155">CALCITE-3155</a>] - Empty `LogicalValues` can not be converted to UNION_ALL without operands which + Empty `LogicalValues` can not be converted to `UNION ALL` without operands which can not be unparsed (Musbah EL FIL) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3151">CALCITE-3151</a>] RexCall's Monotonicity is not considered in determining a Calc's collation @@ -318,7 +320,7 @@ other software versions as specified in `pom.xml`. Check input type in `AggregateUnionAggregateRule` when remove the bottom `Aggregate` (Hequn Cheng) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3149">CALCITE-3149</a>] - RelDataType CACHE in RelDataTypeFactoryImpl can't be garbage collected + `RelDataType` CACHE in `RelDataTypeFactoryImpl` can't be garbage collected * [<a href="https://issues.apache.org/jira/browse/CALCITE-3060">CALCITE-3060</a>] `MutableProject` should be generated based on INVERSE_SURJECTION mapping (DonnyZone) @@ -370,13 +372,13 @@ other software versions as specified in `pom.xml`. * [<a href="https://issues.apache.org/jira/browse/CALCITE-3311">CALCITE-3311</a>] Add doc to site for implicit type coercion * [<a href="https://issues.apache.org/jira/browse/CALCITE-3262">CALCITE-3262</a>] - Refine doc of SubstitutionVisitor.java (Jin Xing) + Refine doc of `SubstitutionVisitor` (Jin Xing) * [<a href="https://issues.apache.org/jira/browse/CALCITE-2835">CALCITE-2835</a>] Markdown errors on the Geode adapter page * Site: Update Apache links on homepage to HTTPS * Update favicon for new logo * [<a href="https://issues.apache.org/jira/browse/CALCITE-3136">CALCITE-3136</a>] - Fix the default rule description of ConverterRule (TANG Wen-hui) + Fix the default rule description of `ConverterRule` (TANG Wen-hui) * [<a href="https://issues.apache.org/jira/browse/CALCITE-3184">CALCITE-3184</a>] Add the new logo to the website * Update example announcement