Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CALCITE-6047] Release Calcite 1.36.0 #3505

Closed
wants to merge 3 commits into from

Conversation

libenchao
Copy link
Member

No description provided.

#### Build and test suite
{: #build-1-36-0}

* [<a href="https://issues.apache.org/jira/browse/CALCITE-5921">CALCITE-5921</a>]
`SqlOperatorFixture.checkFails` and `checkAggFails` don't check runtime failure (follow-up)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: no need to mention this "follow-up", it's enough to mention this ticket only once (on the next line).

Copy link
Contributor

@zabetak zabetak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for putting this together @libenchao ! Only minor comments that can be addressed after the release.


Among other new features, it's worth highlighting the adding of 30 new SQL functions in various libraries such as BigQuery and Spark, many improvements hardening `TABLESAMPLE` , and also the following features:
* [<a href="https://issues.apache.org/jira/browse/CALCITE-5615">CALCITE-5615</a>]
Run SQL Logic Test suite using Calcite's HSQLDB JDBC adapter
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a new feature but a test improvement. Not sure it fits here.

Copy link
Member Author

@libenchao libenchao Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the same feeling when I added it here, I thought it is a major work that I wanted to highlight it. How about adding a line below 'highlighting new features' paragraph like:

In addition to new features, it's also worth highlighting the integrating of SQL Logic Test suite.

Copy link
Contributor

@julianhyde julianhyde Nov 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 It's a major improvement to the test suite and therefore in my opinion deserves to be mentioned as a feature.

* [<a href="https://issues.apache.org/jira/browse/CALCITE-6022">CALCITE-6022</a>]
Support `CREATE TABLE ... LIKE DDL` in server module
* [<a href="https://issues.apache.org/jira/browse/CALCITE-6050">CALCITE-6050</a>]
Add interface `ImmutablePairList`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be in API changes and minor enhancements section?

* [<a href="https://issues.apache.org/jira/browse/CALCITE-6052">CALCITE-6052</a>]
`SqlImplementor` writes `REAL`, `FLOAT`, or `DOUBLE` literals as `DECIMAL` literals
* [<a href="https://issues.apache.org/jira/browse/CALCITE-6041">CALCITE-6041</a>]
`MAP` sub-query gives NullPointerException
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backticks around NullPointerException?

Comment on lines 265 to 266
* Add various lint checks
* Code style: lint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider moving them to "Build and test suite" section.

* [<a href="https://issues.apache.org/jira/browse/CALCITE-5732">CALCITE-5732</a>]
`EnumerableHashJoin` and `EnumerableMergeJoin` on composite key return rows matching condition `NULL = NULL`
* [<a href="https://issues.apache.org/jira/browse/CALCITE-5967">CALCITE-5967</a>]
UnsupportedOperationException while implementing a call that requires a special collator
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backticks around UnsupportedOperationException?

* [<a href="https://issues.apache.org/jira/browse/CALCITE-5837">CALCITE-5837</a>]
`RexUtil#pullFactors` output's order should be deterministic even when the RexNode kind is `OR`
* [<a href="https://issues.apache.org/jira/browse/CALCITE-5877">CALCITE-5877</a>]
AssertionError during `MOD` operation if result scale is greater than maximum numeric scale
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backtickts around AssertionError?

`SqlOperatorTest` using `safeParameters` are not using overridable fixture
* [<a href="https://issues.apache.org/jira/browse/CALCITE-6014">CALCITE-6014</a>]
Create a `SqlOperatorFixture` that parses, unparses, and then parses again before executing
* [MINOR] Incorrect test fixture used by `SqlOperatorTest.testLeastFunc`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove [MINOR] from the message since it doesn't add much to the description. When editing the release notes we have the liberty to change and improve the summary if necessary.

Run SQL Logic Test suite using Calcite's HSQLDB JDBC adapter
* [<a href="https://issues.apache.org/jira/browse/CALCITE-5909">CALCITE-5909</a>]
`SqlParserTest.testNoUnintendedNewReservedKeywords` fails in IDE while passes in command line
* [MINOR] Refactor `RelDataTypeSystemTest` to use test fixture
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove [MINOR].

`ARRAY_TO_STRING` function should return `NULL` if its `nullValue` argument is `NULL`
* [<a href="https://issues.apache.org/jira/browse/CALCITE-6075">CALCITE-6075</a>]
Site: Cloning source code from GitHub using git protocol fails
* [MINOR] Add example for `MAP` type in reference docs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove [MINOR].

Documentation for `CREATE TYPE` is incorrect
* Remove mentions of binary distribution from README
* Update broken link in `RelMetadataProvider` Javadoc
* Minor: the parameter names of `SqlTypeMappingRules.Builder#add` are misleading
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove Minor:

Copy link
Member Author

@libenchao libenchao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zabetak @rubenada Thanks for your review, I've addressed and replied to your comments.


Among other new features, it's worth highlighting the adding of 30 new SQL functions in various libraries such as BigQuery and Spark, many improvements hardening `TABLESAMPLE` , and also the following features:
* [<a href="https://issues.apache.org/jira/browse/CALCITE-5615">CALCITE-5615</a>]
Run SQL Logic Test suite using Calcite's HSQLDB JDBC adapter
Copy link
Member Author

@libenchao libenchao Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the same feeling when I added it here, I thought it is a major work that I wanted to highlight it. How about adding a line below 'highlighting new features' paragraph like:

In addition to new features, it's also worth highlighting the integrating of SQL Logic Test suite.

Zhengqiang Duan,
Zoltan Haindrich,
zoovwang.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm tempted to write (and commit) a script to generate the 'contributors to this release' section. It could be a sed script that converts email addresses into people's real names.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I handled the contributor name, there were four cases:

  • the name in commit message
  • the name on Github profile
  • the name in Jira account
  • fails all above ways, I'll ask the contributor for it

Do you mean we can add a script to generate names just from the first case?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turns out that git's .mailmap file can do a lot of this. I've logged CALCITE-6125 to add a .mailmap.

Support `LIMIT start, ALL` in MySQL conformance, equivalent to `OFFSET start`
* [<a href="https://issues.apache.org/jira/browse/CALCITE-5889">CALCITE-5889</a>]
Add the RelRule that converts `Minus` into `UNION ALL..GROUP BY...WHERE`

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/the RelRule/a RelRule/

Copy link

sonarcloud bot commented Nov 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@libenchao libenchao closed this in 0be8eae Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants