Skip to content

Commit 9486557

Browse files
committed
[CALCITE-4488] Prepare for Avatica 1.18.0 release
1 parent 5d7ee56 commit 9486557

File tree

6 files changed

+67
-20
lines changed

6 files changed

+67
-20
lines changed

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Apache Calcite -- Avatica
2-
Copyright 2012-2020 The Apache Software Foundation
2+
Copyright 2012-2021 The Apache Software Foundation
33

44
This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Apache Calcite Avatica release 1.17.0
1+
Apache Calcite Avatica release 1.18.0
22

33
This is a source or binary distribution of Avatica, a framework for
44
building database drivers. Avatica is a sub-project of Apache Calcite.

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ kotlin.parallel.tasks.in.project=true
2323
# This is version for Calcite Avatica itself
2424
# Note: it should not include "-SNAPSHOT" as it is automatically added by build.gradle.kts
2525
# Release version can be generated by using -Prelease or -Prc=<int> arguments
26-
calcite.avatica.version=1.17.0
26+
calcite.avatica.version=1.18.0
2727

2828
# The options below configures the use of local clone (e.g. testing development versions)
2929
# You can pass un-comment it, or pass option -PlocalReleasePlugins, or -PlocalReleasePlugins=<path>

site/_docs/docker_images.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -70,22 +70,22 @@ file will start an instance of PostgreSQL and an instance of the Avatica server,
7070
exposing an Avatica server configured against a "real" PostgreSQL database.
7171

7272
All of the `Dockerfile` and `docker-compose.yml` files are conveniently provided in an archive for
73-
each release. Here is the layout for release 1.17.0:
73+
each release. Here is the layout for release 1.18.0:
7474

7575
```
76-
avatica-docker-1.17.0/
77-
avatica-docker-1.17.0/hypersql/
78-
avatica-docker-1.17.0/mysql/
79-
avatica-docker-1.17.0/postgresql/
80-
avatica-docker-1.17.0/Dockerfile
81-
avatica-docker-1.17.0/hypersql/build.sh
82-
avatica-docker-1.17.0/hypersql/Dockerfile
83-
avatica-docker-1.17.0/mysql/build.sh
84-
avatica-docker-1.17.0/mysql/docker-compose.yml
85-
avatica-docker-1.17.0/mysql/Dockerfile
86-
avatica-docker-1.17.0/postgresql/build.sh
87-
avatica-docker-1.17.0/postgresql/docker-compose.yml
88-
avatica-docker-1.17.0/postgresql/Dockerfile
76+
avatica-docker-1.18.0/
77+
avatica-docker-1.18.0/hypersql/
78+
avatica-docker-1.18.0/mysql/
79+
avatica-docker-1.18.0/postgresql/
80+
avatica-docker-1.18.0/Dockerfile
81+
avatica-docker-1.18.0/hypersql/build.sh
82+
avatica-docker-1.18.0/hypersql/Dockerfile
83+
avatica-docker-1.18.0/mysql/build.sh
84+
avatica-docker-1.18.0/mysql/docker-compose.yml
85+
avatica-docker-1.18.0/mysql/Dockerfile
86+
avatica-docker-1.18.0/postgresql/build.sh
87+
avatica-docker-1.18.0/postgresql/docker-compose.yml
88+
avatica-docker-1.18.0/postgresql/Dockerfile
8989
```
9090

9191
#### Running

site/_docs/history.md

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,61 @@ Downloads are available on the
3131
## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.18.0">1.18.0</a> / 2021-04-XX
3232
{: #v1-18-0}
3333

34-
### Breaking changes
34+
Apache Calcite Avatica 1.18.0 includes a few dependency upgrades, minor fixes and a breaking change.
35+
Please see below to determine how the breaking change will affect your project.
36+
37+
Compatibility: This release is tested
38+
on Linux, macOS, Microsoft Windows;
39+
using Oracle JDK 8, 9, 10, 11, 12, 13, 14;
40+
using IBM Java 8;
41+
Guava versions 14.0 to 29.0;
42+
other software versions as specified in `gradle.properties`.
43+
44+
***Breaking changes***
3545
* [<a href="https://issues.apache.org/jira/browse/CALCITE-4503">CALCITE-4503</a>] Order of fields in records should follow that of the SQL types
3646

3747
`Meta#deduce(List<ColumnMetaData> columns, Class resultClazz)` now only derives the order of the fields from the list of provided column metadata `columns` when generating a record from the given Java class `resultClazz`, instead of relying on the field order provided by `Object#getFields()`, which is a JVM-dependent feature.
3848

3949
Before, the field names where not checked against the field names of the provided class. Now, if `resultClazz` is not null, the provided field names are expected to match existing fields in that class. If a column metadata has name `column`, and no public field in `resultClazz` with that name exists, the following exception is thrown:
4050
`java.lang.RuntimeException: java.lang.NoSuchFieldException: C`.
4151

52+
Features and bug fixes
53+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-4138">CALCITE-4138</a>]
54+
Metadata operations via Avatica turn empty string args to null (Istvan Toth)
55+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-4095">CALCITE-4095</a>]
56+
Update Jetty to 9.4.31.v20200723 and use `SslContextFactory.Server` instead of `SslContextFactory` (Peter Somogyi)
57+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-4196">CALCITE-4196</a>]
58+
Consume all data from client before replying with HTTP/401
59+
* Upgrade gradle from 6.3 to 6.7
60+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-4379">CALCITE-4379</a>]
61+
Meta.Frame created with java float values in rows hits a ClassCastException in toProto() (Dmitri Bourlatchkov)
62+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-4181">CALCITE-4181</a>]
63+
Avatica throws exception when select field is a List<Object> (Kent Nguyen)
64+
* Upgrade Gradle from 6.7 to 6.8.1
65+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-4476">CALCITE-4476</a>]
66+
DateTimeUtils.timeStringToUnixDate may produce wrong time (Vladimir Ozerov)
67+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-3401">CALCITE-3401</a>]
68+
Assume empty keystore passwords by default (Istvan Toth, Alessandro Solimando)
69+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-3881">CALCITE-3881</a>]
70+
DateTimeUtils.addMonths yields incorrect results (Zhenghua Gao)
71+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-3163">CALCITE-3163</a>]
72+
Incorrect mapping of JDBC float/real array types to Java types (Ralph Gasser)
73+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-4503">CALCITE-4503</a>]
74+
Order of fields in records should follow that of the SQL types (Alessandro Solimando)
75+
* Upgrade Gradle docker containers to 6.8
76+
77+
Tests
78+
* Remove files that change often from Travis cache and remove broken files automatically
79+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-3163">CALCITE-3163</a>]
80+
Improve test coverage for float/real/double array types (Alessandro Solimando)
81+
* Replace AssertTestUtils with custom Hamcrest matcher for accessors content
82+
83+
Website and Documentation
84+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-3841">CALCITE-3841</a>]
85+
Change downloads page to use downloads.apache.org
86+
* [<a href="https://issues.apache.org/jira/browse/CALCITE-4367">CALCITE-4367</a>]
87+
Correct Avatica protocol docs
88+
4289
## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.17.0">1.17.0</a> / 2020-06-22
4390
{: #v1-17-0}
4491

site/_docs/howto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Unpack the source distribution `.tar.gz` file,
3737
then build using maven:
3838

3939
{% highlight bash %}
40-
$ tar xvfz apache-calcite-avatica-1.17.0-src.tar.gz
41-
$ cd apache-calcite-avatica-1.17.0-src
40+
$ tar xvfz apache-calcite-avatica-1.18.0-src.tar.gz
41+
$ cd apache-calcite-avatica-1.18.0-src
4242
$ ./gradlew build
4343
{% endhighlight %}
4444

0 commit comments

Comments
 (0)