@@ -29,33 +29,93 @@ Downloads are available on the
2929[downloads page]({{ site.baseurl }}/downloads/).
3030
3131<!--
32- ## <a href="https://github.com/apache/calcite/releases/tag/calcite-1.34 .0">1.34 .0</a> / XXXX-XX-XX
33- {: #v1-34 -0}
32+ ## <a href="https://github.com/apache/calcite/releases/tag/calcite-1.35 .0">1.35 .0</a> / XXXX-XX-XX
33+ {: #v1-35 -0}
3434
35- This release comes x months after [1.33 .0](#v1-33 -0),
35+ This release comes x months after [1.34 .0](#v1-34 -0),
3636contains contributions from x contributors, and resolves x issues.
3737
3838Contributors to this release:
3939x,
4040y (release manager),
4141z.
4242
43+ #### Breaking Changes
44+ {: #breaking-1-35-0}
45+
46+ Compatibility: This release is tested on Linux, macOS, Microsoft Windows;
47+ using JDK/OpenJDK versions 8 to 18;
48+ Guava versions 16.0.1 to 31.1-jre;
49+ other software versions as specified in gradle.properties.
50+
51+ #### New features
52+ {: #new-features-1-35-0}
53+
54+ #### Dependency version upgrade
55+ {: #dependency-1-35-0}
56+
57+ #### Bug-fixes, API changes and minor enhancements
58+ {: #fixes-1-35-0}
59+
60+ #### Build and test suite
61+ {: #build-1-35-0}
62+
63+ #### Web site and documentation
64+ {: #site-1-35-0}
65+ -->
66+
67+ ## <a href="https://github.com/apache/calcite/releases/tag/calcite-1.34.0">1.34.0</a> / 2023-03-XX
68+ {: #v1-34-0}
69+
70+ This release comes 1 month after [1.33.0](#v1-33-0),
71+ contains contributions from 18 contributors, and resolves 34 issues. It's worth highlighting the
72+ introduction of QUALIFY clause ([<a href="https://issues.apache.org/jira/browse/CALCITE-5268">CALCITE-5268</a>]),
73+ which facilitates filtering the results of window functions. Among other improvements and fixes, it
74+ adds roughly 15 new functions in BigQuery library for handling dates, times, and timestamps, and
75+ provides a fix ([<a href="https://issues.apache.org/jira/browse/CALCITE-5522">CALCITE-5522</a>])
76+ for a small breaking change in `DATE_TRUNC` function
77+ ([<a href="https://issues.apache.org/jira/browse/CALCITE-5447">CALCITE-5447</a>]), which was
78+ introduced accidentally in [1.33.0](#v1-33-0).
79+
80+ Contributors to this release:
81+ Alessandro Solimando,
82+ Benchao Li,
83+ Brandon Chong,
84+ Dmitry Sysolyatin,
85+ Francis Chuang,
86+ Gian Merlino,
87+ Guillaume Massé,
88+ Jiajun Xie,
89+ Julian Hyde,
90+ Moritz Mack,
91+ Oliver Lee,
92+ Peng Wang,
93+ Stamatis Zampetakis (release manager),
94+ Tanner Clary,
95+ Tim Nieradzik,
96+ TJ Banghart,
97+ xinqiu.hu,
98+ Zou Dan.
99+
100+ <!--
101+ Command used to generate the release notes
102+ git log b64cb1325cfe1a5143ea3ca534f991b6f881c3c5..ee9b80b0b68d442991dfaa142722e3488ec73e79 --format="%s" | sed 's|\[\(CALCITE-[0-9]\+\)\]|* [<a href="https://issues.apache.org/jira/browse/\1">\1</a>]\n|'git log b64cb1325cfe1a5143ea3ca534f991b6f881c3c5..ee9b80b0b68d442991dfaa142722e3488ec73e79 --format="%s" | sed 's|\[\(CALCITE-[0-9]\+\)\]|* [<a href="https://issues.apache.org/jira/browse/\1">\1</a>]\n|'
103+ -->
104+
43105#### Breaking Changes
44106{: #breaking-1-34-0}
45107
46- As of [CALCITE-3870]( https://issues.apache.org/jira/browse/CALCITE-3870),
47- the default value of
108+ [<a href=" https://issues.apache.org/jira/browse/CALCITE-3870">CALCITE-3870</a>]
109+ Change the default value of
48110[SqlToRelConverter.Config.expand](https://calcite.apache.org/javadocAggregate/org/apache/calcite/sql2rel/SqlToRelConverter.Config.html#isExpand())
49- is now false, which means that `SqlToRelConverter` handles sub-queries (such
111+ from true to false. From now on `SqlToRelConverter`, handles sub-queries (such
50112as `IN`, `EXISTS`, and scalar sub-queries) by converting them to `RexSubQuery`
51113expressions, rather than expanding them. To expand these `RexSubQuery`
52114expressions, the `SubQueryRemoveRule` rule must be enabled in the planning
53115phase.
54-
55116To keep the old behavior (which is discouraged but still supported),
56- initialize `SqlToRelConverter` using
57- `SqlToRelConverter.config().withExpandDeprecated(true)` as the value for the `config`
58- argument.
117+ initialize `SqlToRelConverter` using `SqlToRelConverter.config().withExpand(true)` as the value for
118+ the `config` argument.
59119
60120Compatibility: This release is tested on Linux, macOS, Microsoft Windows;
61121using JDK/OpenJDK versions 8 to 18;
@@ -65,18 +125,82 @@ other software versions as specified in gradle.properties.
65125#### New features
66126{: #new-features-1-34-0}
67127
128+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5268">CALCITE-5268</a>]
129+ Add `QUALIFY` clause
130+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5469">CALCITE-5469</a>]
131+ Add `DATETIME_ADD`, `DATETIME_DIFF`, `DATE_ADD`, `DATE_DIFF` functions (enabled in BigQuery library)
132+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5484">CALCITE-5484</a>]
133+ Add `DATETIME_SUB` function (enabled in BigQuery library)
134+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5357">CALCITE-5357</a>]
135+ Add `FORMAT_TIME`, `FORMAT_DATE`, `FORMAT_DATETIME`, `FORMAT_TIMESTAMP` functions (enabled in BigQuery library)
136+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5508">CALCITE-5508</a>]
137+ Add constructor functions for `DATE`, `TIME`, `TIMESTAMP`, `DATETIME` (enabled in BigQuery library)
138+
68139#### Dependency version upgrade
69140{: #dependency-1-34-0}
70141
142+ * Bump Quidem from 0.10 to 0.11
143+
71144#### Bug-fixes, API changes and minor enhancements
72145{: #fixes-1-34-0}
73146
147+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5545">CALCITE-5545</a>]
148+ Allow for overriding `SqlValidator` to enable custom `SqlNode` validation
149+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5504">CALCITE-5504</a>]
150+ Array value constructor is unparsed incorrectly for `SparkSqlDialect`
151+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5518">CALCITE-5518</a>]
152+ `RelToSqlConverter` generates invalid order of `ROLLUP` fields
153+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5510">CALCITE-5510</a>]
154+ `RelToSqlConverter` should use ordinal for `ORDER BY` if the dialect allows
155+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5478">CALCITE-5478</a>]
156+ Use highest input precision for datetimes in `SqlTypeFactoryImpl.leastRestrictive`
157+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5522">CALCITE-5522</a>]
158+ Babel parser cannot handle some overloads of the `DATE_TRUNC` function
159+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5531">CALCITE-5531</a>]
160+ `COALESCE` function throws `ClassCastException`
161+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5507">CALCITE-5507</a>]
162+ `HAVING` alias fails for mixed usage of alias and aggregate function
163+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5503">CALCITE-5503</a>]
164+ `CheapestPlanReplacer` should reuse repeated nodes in a DAG plan
165+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5468">CALCITE-5468</a>]
166+ `SqlToRelConverter` throws if `ORDER BY` contains `IN`
167+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5515">CALCITE-5515</a>]
168+ Add keyspace parameter to `CassandraSchema` and `CassandraTable`
169+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5416">CALCITE-5416</a>]
170+ JDBC adapter for MySQL 5 incorrectly combines `GROUP BY ROLLUP` and `ORDER BY` clauses
171+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5505">CALCITE-5505</a>]
172+ JavaCC warns about missing LOOKAHEAD directives in Parser.jj
173+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5514">CALCITE-5514</a>]
174+ In `RelJson`, add a public `toRex()` instance method
175+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5442">CALCITE-5442</a>]
176+ Tweak janino code generation in `EnumerableInterpretable` to allow debugging
177+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5521">CALCITE-5521</a>]
178+ Remove redundant rowtype check in `RelSubset#add`
179+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5483">CALCITE-5483</a>]
180+ `ProjectAggregateMergeRule` throws exception if literal is non-numeric
181+ * `TryThreadLocal` values are now not-null by default
182+
74183#### Build and test suite
75184{: #build-1-34-0}
76185
186+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5546">CALCITE-5546</a>]
187+ Code style: Break long assignment expressions after '='
188+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5501">CALCITE-5501</a>]
189+ `SqlToRelConverterTest.checkActualAndReferenceFiles` fails intermittently in Jenkins CI
190+ * Add test for [<a href="https://issues.apache.org/jira/browse/CALCITE-5524">CALCITE-5524</a>] JDBC adapter generates `LIMIT`, `OFFSET` in wrong order for Presto dialect
191+ * Add tests for [<a href="https://issues.apache.org/jira/browse/CALCITE-2980">CALCITE-2980</a>] Implement the `FORMAT` clause of the `CAST` operator
192+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5537">CALCITE-5537</a>]
193+ Slow test case failures in `LatticeSuggesterTest`
194+ * Autostyle: Disallow space or newline before ')' in method declaration or call
195+
77196#### Web site and documentation
78197{: #site-1-34-0}
79- -->
198+
199+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5555">CALCITE-5555</a>]
200+ Remove obsolete instructions for processing requests for new JIRA accounts
201+ * [<a href="https://issues.apache.org/jira/browse/CALCITE-5550">CALCITE-5550</a>]
202+ Update instructions for requesting Jira account to use self-serve facility
203+ * `CompositeOperandTypeChecker`'s javadoc uses wrong class name
80204
81205## <a href="https://github.com/apache/calcite/releases/tag/calcite-1.33.0">1.33.0</a> / 2023-02-06
82206{: #v1-33-0}
0 commit comments