You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2021/04/07 23:04:35 UTC

[calcite-avatica] branch master updated (a27b975 -> 9486557)

This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git.


 discard a27b975  [CALCITE-4488] Prepare for Avatica 1.18.0 release
     new 5d7ee56  Upgrade Gradle docker containers to 6.8
     new 9486557  [CALCITE-4488] Prepare for Avatica 1.18.0 release

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (a27b975)
            \
             N -- N -- N   refs/heads/master (9486557)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docker-compose.yml    | 10 +++++-----
 site/_docs/history.md |  1 +
 2 files changed, 6 insertions(+), 5 deletions(-)

[calcite-avatica] 01/02: Upgrade Gradle docker containers to 6.8

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git

commit 5d7ee5662d2c7c75bc2a012e2324a33c49ddb417
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Thu Apr 8 09:00:20 2021 +1000

    Upgrade Gradle docker containers to 6.8
---
 docker-compose.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index 23bf49b..1acb93b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -17,7 +17,7 @@
 version: '3'
 services:
   dry-run:
-    image: gradle:6.3-jdk
+    image: gradle:6.8-jdk
     working_dir: /src
     command: sh -c "./docker.sh dry-run"
     network_mode: "host"
@@ -26,7 +26,7 @@ services:
       - gradle-cache:/home/gradle/.gradle
 
   publish-release-for-voting:
-    image: gradle:6.3-jdk
+    image: gradle:6.8-jdk
     working_dir: /src
     command: sh -c "./docker.sh publish-release-for-voting"
     volumes:
@@ -34,7 +34,7 @@ services:
       - gradle-cache:/home/gradle/.gradle
 
   clean:
-    image: gradle:6.3-jdk
+    image: gradle:6.8-jdk
     working_dir: /src
     command: sh -c "./docker.sh clean"
     volumes:
@@ -42,7 +42,7 @@ services:
       - gradle-cache:/home/gradle/.gradle
 
   promote-release:
-    image: gradle:6.3-jdk
+    image: gradle:6.8-jdk
     working_dir: /src
     command: sh -c "./docker.sh promote-release"
     volumes:
@@ -50,7 +50,7 @@ services:
       - gradle-cache:/home/gradle/.gradle
 
   test:
-    image: gradle:6.3-jdk
+    image: gradle:6.8-jdk
     working_dir: /src
     command: sh -c "./docker.sh test"
     volumes:

[calcite-avatica] 02/02: [CALCITE-4488] Prepare for Avatica 1.18.0 release

Posted by fr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

francischuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git

commit 9486557be86bcade35d814d8a81be638395f57c6
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Thu Apr 8 09:03:39 2021 +1000

    [CALCITE-4488] Prepare for Avatica 1.18.0 release
---
 NOTICE                      |  2 +-
 README                      |  2 +-
 gradle.properties           |  2 +-
 site/_docs/docker_images.md | 28 +++++++++++++-------------
 site/_docs/history.md       | 49 ++++++++++++++++++++++++++++++++++++++++++++-
 site/_docs/howto.md         |  4 ++--
 6 files changed, 67 insertions(+), 20 deletions(-)

diff --git a/NOTICE b/NOTICE
index b6529d7..23bb772 100644
--- a/NOTICE
+++ b/NOTICE
@@ -1,5 +1,5 @@
 Apache Calcite -- Avatica
-Copyright 2012-2020 The Apache Software Foundation
+Copyright 2012-2021 The Apache Software Foundation
 
 This product includes software developed at
 The Apache Software Foundation (http://www.apache.org/).
diff --git a/README b/README
index 8e65aab..781e947 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Apache Calcite Avatica release 1.17.0
+Apache Calcite Avatica release 1.18.0
 
 This is a source or binary distribution of Avatica, a framework for
 building database drivers. Avatica is a sub-project of Apache Calcite.
diff --git a/gradle.properties b/gradle.properties
index e122584..1e3db05 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -23,7 +23,7 @@ kotlin.parallel.tasks.in.project=true
 # This is version for Calcite Avatica itself
 # Note: it should not include "-SNAPSHOT" as it is automatically added by build.gradle.kts
 # Release version can be generated by using -Prelease or -Prc=<int> arguments
-calcite.avatica.version=1.17.0
+calcite.avatica.version=1.18.0
 
 # The options below configures the use of local clone (e.g. testing development versions)
 # You can pass un-comment it, or pass option -PlocalReleasePlugins, or -PlocalReleasePlugins=<path>
diff --git a/site/_docs/docker_images.md b/site/_docs/docker_images.md
index f99863d..f8b9e63 100644
--- a/site/_docs/docker_images.md
+++ b/site/_docs/docker_images.md
@@ -70,22 +70,22 @@ file will start an instance of PostgreSQL and an instance of the Avatica server,
 exposing an Avatica server configured against a "real" PostgreSQL database.
 
 All of the `Dockerfile` and `docker-compose.yml` files are conveniently provided in an archive for
-each release. Here is the layout for release 1.17.0:
+each release. Here is the layout for release 1.18.0:
 
 ```
-avatica-docker-1.17.0/
-avatica-docker-1.17.0/hypersql/
-avatica-docker-1.17.0/mysql/
-avatica-docker-1.17.0/postgresql/
-avatica-docker-1.17.0/Dockerfile
-avatica-docker-1.17.0/hypersql/build.sh
-avatica-docker-1.17.0/hypersql/Dockerfile
-avatica-docker-1.17.0/mysql/build.sh
-avatica-docker-1.17.0/mysql/docker-compose.yml
-avatica-docker-1.17.0/mysql/Dockerfile
-avatica-docker-1.17.0/postgresql/build.sh
-avatica-docker-1.17.0/postgresql/docker-compose.yml
-avatica-docker-1.17.0/postgresql/Dockerfile
+avatica-docker-1.18.0/
+avatica-docker-1.18.0/hypersql/
+avatica-docker-1.18.0/mysql/
+avatica-docker-1.18.0/postgresql/
+avatica-docker-1.18.0/Dockerfile
+avatica-docker-1.18.0/hypersql/build.sh
+avatica-docker-1.18.0/hypersql/Dockerfile
+avatica-docker-1.18.0/mysql/build.sh
+avatica-docker-1.18.0/mysql/docker-compose.yml
+avatica-docker-1.18.0/mysql/Dockerfile
+avatica-docker-1.18.0/postgresql/build.sh
+avatica-docker-1.18.0/postgresql/docker-compose.yml
+avatica-docker-1.18.0/postgresql/Dockerfile
 ```
 
 #### Running
diff --git a/site/_docs/history.md b/site/_docs/history.md
index 397315b..a81e77e 100644
--- a/site/_docs/history.md
+++ b/site/_docs/history.md
@@ -31,7 +31,17 @@ Downloads are available on the
 ## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.18.0">1.18.0</a> / 2021-04-XX
 {: #v1-18-0}
 
-### Breaking changes
+Apache Calcite Avatica 1.18.0 includes a few dependency upgrades, minor fixes and a breaking change.
+Please see below to determine how the breaking change will affect your project.
+
+Compatibility: This release is tested
+on Linux, macOS, Microsoft Windows;
+using Oracle JDK 8, 9, 10, 11, 12, 13, 14;
+using IBM Java 8;
+Guava versions 14.0 to 29.0;
+other software versions as specified in `gradle.properties`.
+
+***Breaking changes***
 * [<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
 
 `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.
@@ -39,6 +49,43 @@ Downloads are available on the
 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:
 `java.lang.RuntimeException: java.lang.NoSuchFieldException: C`.
 
+Features and bug fixes
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4138">CALCITE-4138</a>]
+  Metadata operations via Avatica turn empty string args to null (Istvan Toth)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4095">CALCITE-4095</a>]
+  Update Jetty to 9.4.31.v20200723 and use `SslContextFactory.Server` instead of `SslContextFactory` (Peter Somogyi)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4196">CALCITE-4196</a>]
+  Consume all data from client before replying with HTTP/401
+* Upgrade gradle from 6.3 to 6.7
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4379">CALCITE-4379</a>]
+  Meta.Frame created with java float values in rows hits a ClassCastException in toProto() (Dmitri Bourlatchkov)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4181">CALCITE-4181</a>]
+  Avatica throws exception when select field is a List<Object> (Kent Nguyen)
+* Upgrade Gradle from 6.7 to 6.8.1
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4476">CALCITE-4476</a>]
+  DateTimeUtils.timeStringToUnixDate may produce wrong time (Vladimir Ozerov)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3401">CALCITE-3401</a>]
+  Assume empty keystore passwords by default (Istvan Toth, Alessandro Solimando)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3881">CALCITE-3881</a>]
+  DateTimeUtils.addMonths yields incorrect results (Zhenghua Gao)
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3163">CALCITE-3163</a>]
+  Incorrect mapping of JDBC float/real array types to Java types (Ralph Gasser)
+* [<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 (Alessandro Solimando)
+* Upgrade Gradle docker containers to 6.8
+
+Tests
+* Remove files that change often from Travis cache and remove broken files automatically
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3163">CALCITE-3163</a>]
+  Improve test coverage for float/real/double array types (Alessandro Solimando)
+* Replace AssertTestUtils with custom Hamcrest matcher for accessors content
+
+Website and Documentation
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-3841">CALCITE-3841</a>]
+  Change downloads page to use downloads.apache.org
+* [<a href="https://issues.apache.org/jira/browse/CALCITE-4367">CALCITE-4367</a>]
+  Correct Avatica protocol docs
+
 ## <a href="https://github.com/apache/calcite-avatica/releases/tag/rel/avatica-1.17.0">1.17.0</a> / 2020-06-22
 {: #v1-17-0}
 
diff --git a/site/_docs/howto.md b/site/_docs/howto.md
index 84ac1c0..0f4941c 100644
--- a/site/_docs/howto.md
+++ b/site/_docs/howto.md
@@ -37,8 +37,8 @@ Unpack the source distribution `.tar.gz` file,
 then build using maven:
 
 {% highlight bash %}
-$ tar xvfz apache-calcite-avatica-1.17.0-src.tar.gz
-$ cd apache-calcite-avatica-1.17.0-src
+$ tar xvfz apache-calcite-avatica-1.18.0-src.tar.gz
+$ cd apache-calcite-avatica-1.18.0-src
 $ ./gradlew build
 {% endhighlight %}