From 6d8175111ec72f65cb12815d5d519680f62dfd08 Mon Sep 17 00:00:00 2001 From: Sergey Nuyanzin Date: Wed, 24 Apr 2024 14:58:26 +0200 Subject: [PATCH] [CALCITE-6302] Address feedback --- site/_docs/history.md | 70 +++++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 36 deletions(-) diff --git a/site/_docs/history.md b/site/_docs/history.md index 80f53149abf..5c8785e8650 100644 --- a/site/_docs/history.md +++ b/site/_docs/history.md @@ -68,21 +68,15 @@ other software versions as specified in gradle.properties. {: #v1-37-0} This release comes 5 months after [1.36.0](#v1-36-0), -contains contributions from 46 contributors, and resolves 134 issues. - -Among other new features, it's worth highlighting the adding a number of new SQL functions in various libraries such as BigQuery, PostgreSQL and Spark, and also the following features: -* [CALCITE-3679] - Allow lambda expressions in SQL queries -* [CALCITE-2040] - Create adapter for Apache Arrow -* [CALCITE-6257] - StarRocks dialect implementation -* [CALCITE-6219] - 'Must-filter' columns -* [CALCITE-2980] - Implement the `FORMAT` clause of the `CAST` operator -* [CALCITE-6254] - Support table function calls in `FROM` clause without `TABLE()` wrapper +contains contributions from 46 contributors, and resolves 136 issues. It's worth highlighting the +introduction of adapter for Apache Arrow ([CALCITE-2040]), +StarRocks dialect ([CALCITE-6257]). +Also on the release comes with support of lambda expressions in SQL +([CALCITE-3679]), +'Must-filter' columns ([CALCITE-6219]). +For table function calls it is now possible to use them without `TABLE()` wrapper in `FROM` ([CALCITE-6254]). +Furthermore, there is support of optional `FORMAT` of `CAST` operator from SQL:2016 ([CALCITE-6254]) +more than 15 new SQL functions in various libraries such as BigQuery, PostgreSQL and Spark. Contributors to this release: abhishekagarwal87, @@ -149,26 +143,26 @@ other software versions as specified in gradle.properties. #### New features {: #new-features-1-37-0} * Supporting new functions - * [CALCITE-6314] - Add `RANDOM` function (enabled in Postgres library) - * [CALCITE-6315] - Support PostgreSQL `TO_CHAR`, `TO_DATE`, `TO_TIMESTAMP` - * [CALCITE-6309] - Add `REGEXP_LIKE` function (enabled in MySQL, Oracle, PostgreSQL and Spark libraries) + * [CALCITE-6205] + Add `BITAND_AGG`, `BITOR_AGG` functions (enabled in Snowflake library) + * [CALCITE-6156] + Add `ENDSWITH`, `STARTSWITH` functions (enabled in Postgres, Snowflake libraries) * [CALCITE-6116] Add `EXISTS` function (enabled in Spark library) * [CALCITE-6182] Add `LENGTH`/`LEN` functions (enabled in Snowflake library) - * [CALCITE-6278] - Add `REGEXP`, `REGEXP_LIKE` function (enabled in Spark library) * [CALCITE-6224] Add `LOG2` function (enabled in MySQL, Spark library) * [CALCITE-6223] Add `MAP_CONTAINS_KEY` function (enabled in Spark library) - * [CALCITE-6205] - Add `BITAND_AGG`, `BITOR_AGG` functions (enabled in Snowflake library) - * [CALCITE-6156] - Add `ENDSWITH`, `STARTSWITH` functions (enabled in Postgres, Snowflake libraries) + * [CALCITE-6314] + Add `RANDOM` function (enabled in Postgres library) + * [CALCITE-6315] + Support PostgreSQL `TO_CHAR`, `TO_DATE`, `TO_TIMESTAMP` + * [CALCITE-6278] + Add `REGEXP`, `REGEXP_LIKE` function (enabled in Spark library) + * [CALCITE-6309] + Add `REGEXP_LIKE` function (enabled in MySQL, Oracle, PostgreSQL and Spark libraries) * [CALCITE-6179] Support `WEEKOFMONTH` function format and add test * [CALCITE-6215] @@ -189,6 +183,8 @@ other software versions as specified in gradle.properties. Create adapter for Apache Arrow * [CALCITE-6257] StarRocks dialect implementation +* [CALCITE-6254] + Support table function calls in `FROM` clause without `TABLE()` wrapper #### Dependency version upgrade {: #dependency-1-37-0} @@ -270,17 +266,15 @@ other software versions as specified in gradle.properties. * [CALCITE-6150] JDBC adapter for ClickHouse generates incorrect SQL for certain units in the `EXTRACT` function * [CALCITE-6117] - Converting `SAFE_CAST` from RexCall to SqlCall fails to add the type as an argument + Converting `SAFE_CAST` from `RexCall` to `SqlCall` fails to add the type as an argument * [CALCITE-6211] `SUBSTRING` with `Integer.MIN_VALUE` as a second parameter raise unexpected exception * [CALCITE-6213] The default behavior of `NullCollation` in Presto is `LAST` * [CALCITE-6227] - `ELEMENT`(`NULL`) causes an assertion failure + `ELEMENT(NULL)` causes an assertion failure * [CALCITE-6168] `RexExecutor` can throw during compilation -* [CALCITE-6118] - Missing empty `ARRAY` function usage in reference doc * [CALCITE-5130] `AssertionError`: "Conversion to relational algebra failed to preserve datatypes" when union `VARCHAR` literal and `CAST(null AS INTEGER)` * [CALCITE-6178] @@ -310,7 +304,7 @@ other software versions as specified in gradle.properties. * [CALCITE-6251] `InnerEnumerator` in `EnumerableDefaults::correlateBatchJoin` is not closed * [CALCITE-6247] - BigQuery `FORMAT_DATE` function handles incorrectly the %e format specifier + BigQuery `FORMAT_DATE` function handles incorrectly the `%e` format specifier * [CALCITE-6238] Exception while evaluating `ROUND`/`TRUNCATE` functions * [CALCITE-6228] @@ -331,8 +325,6 @@ other software versions as specified in gradle.properties. `RelMetadataQuery` should regard single-row relational expressions as unique * [CALCITE-5846] Preserve filters on non-distinct aggCalls in `AggregateExpandWithinDistinctRule` -* [CALCITE-6092] - Skip breaking `CAST` String to `TIME` tests until fixed in Avatica 1.24.0 * [CALCITE-6100] The `equalsDeep` of `SqlRowTypeNameSpec` should use `equalsDeep` for fieldTypes rather than reference comparison * [CALCITE-6183] @@ -342,7 +334,7 @@ other software versions as specified in gradle.properties. * [CALCITE-5649] Get row count statistics from `ReflectiveSchema` * [CALCITE-6220] - Rewrite `MIN`/`MAX`(bool) as `BOOL_AND`/`BOOL_OR` for Postgres, Redshift + Rewrite `MIN`/`MAX(bool)` as `BOOL_AND`/`BOOL_OR` for Postgres, Redshift * [CALCITE-6321] Add `copy(List)` method to Window class * [CALCITE-6337] @@ -398,6 +390,12 @@ other software versions as specified in gradle.properties. Allow aliased operators to re-use existing tests * [CALCITE-6359] Update GitHub Actions workflows to use docker compose v2 +* [CALCITE-6092] + Skip breaking `CAST` String to `TIME` tests until fixed in Avatica 1.24.0 +* [CALCITE-6384] + Add ASF header to `buildcache.yml`, `gradle-wrapper-validation.yml` +* [CALCITE-6385] + LintTest fails when run in source distribution #### Web site and documentation {: #site-1-37-0} @@ -414,7 +412,7 @@ other software versions as specified in gradle.properties. Incorrect rendering of HTML on InnoDB adapter page * Add `.gitignore` and `.ratignore` for jenv * [CALCITE-6097] - Gridism CSS dependency is mispelled in LICENSE + Gridism CSS dependency is mispelled in `LICENSE` * [CALCITE-6096] Remove obsolete html5shiv and respond entries from `LICENSE` * [CALCITE-6194]