calcite-avatica.git
13 days agoPrepare for next development iteration main
Julian Hyde [Thu, 22 Sep 2022 01:04:35 +0000 (18:04 -0700)] 
Prepare for next development iteration

7 weeks ago[CALCITE-5232] Upgrade protobuf-java from 3.17.1 to 3.21.5
Julian Hyde [Thu, 11 Aug 2022 19:23:40 +0000 (12:23 -0700)] 
[CALCITE-5232] Upgrade protobuf-java from 3.17.1 to 3.21.5

2 months agoUpdate website for Avatica 1.22 release
Francis Chuang [Thu, 28 Jul 2022 00:04:47 +0000 (10:04 +1000)] 
Update website for Avatica 1.22 release

2 months ago[CALCITE-5220] Release Avatica 1.22 avatica-1.22.0-rc0 rel/avatica-1.22.0
Francis Chuang [Tue, 26 Jul 2022 23:09:55 +0000 (09:09 +1000)] 
[CALCITE-5220] Release Avatica 1.22

2 months ago[CALCITE-5218] Verify HTTP client class before instantiating it
rubenada [Tue, 26 Jul 2022 12:21:48 +0000 (13:21 +0100)] 
[CALCITE-5218] Verify HTTP client class before instantiating it

4 months agoCheckout release svn repository when promoting a release using the docker script
Francis Chuang [Sun, 8 May 2022 04:48:47 +0000 (14:48 +1000)] 
Checkout release svn repository when promoting a release using the docker script

4 months agoUpdate website for Avatica 1.21.0 release
Francis Chuang [Sun, 8 May 2022 04:37:04 +0000 (14:37 +1000)] 
Update website for Avatica 1.21.0 release

5 months ago[CALCITE-5097] Release Avatica 1.21.0 avatica-1.21.0-rc0 rel/avatica-1.21.0
Francis Chuang [Wed, 4 May 2022 23:04:51 +0000 (09:04 +1000)] 
[CALCITE-5097] Release Avatica 1.21.0

5 months ago[CALCITE-5095] Support Java 18 and Guava 31.1-jre
Benchao Li [Wed, 20 Apr 2022 00:36:40 +0000 (08:36 +0800)] 
[CALCITE-5095] Support Java 18 and Guava 31.1-jre

Close apache/calcite-avatica#178

5 months ago[CALCITE-5116] Upgrade vlsi-release-plugins to 1.78
Francis Chuang [Wed, 27 Apr 2022 02:10:57 +0000 (12:10 +1000)] 
[CALCITE-5116] Upgrade vlsi-release-plugins to 1.78

5 months ago[CALCITE-4147] Rename "master" branch to "main"
Michael Mior [Wed, 29 Jul 2020 19:29:08 +0000 (15:29 -0400)] 
[CALCITE-4147] Rename "master" branch to "main"

5 months ago[CALCITE-5108] Make website GDPR-compliant
Francis Chuang [Fri, 22 Apr 2022 01:03:10 +0000 (11:03 +1000)] 
[CALCITE-5108] Make website GDPR-compliant

- Add a link to the privacy policy in the footer

5 months ago[CALCITE-5106] Upgrade to Jekyll 4 and remove unnecessary dependencies from gemfile...
Francis Chuang [Thu, 21 Apr 2022 06:01:40 +0000 (16:01 +1000)] 
[CALCITE-5106] Upgrade to Jekyll 4 and remove unnecessary dependencies from gemfile for site

5 months agoFix formatting in howto
Francis Chuang [Thu, 21 Apr 2022 04:32:15 +0000 (14:32 +1000)] 
Fix formatting in howto

5 months agoAdd instructions for release managers to uncomment commented out release history
Francis Chuang [Wed, 20 Apr 2022 22:34:25 +0000 (08:34 +1000)] 
Add instructions for release managers to uncomment commented out release history

5 months agoComment out release notes for next release, so that they don't appear on the web...
Julian Hyde [Wed, 20 Apr 2022 21:08:07 +0000 (14:08 -0700)] 
Comment out release notes for next release, so that they don't appear on the web site

5 months ago[CALCITE-5102] Update github-pages gem for site build
Michael Mior [Tue, 19 Apr 2022 19:55:23 +0000 (15:55 -0400)] 
[CALCITE-5102] Update github-pages gem for site build

5 months ago[CALCITE-5103] Update docker-compose.yml files to use OpenJDK 17 and Gradle 7.4.2...
Francis Chuang [Tue, 19 Apr 2022 22:51:42 +0000 (08:51 +1000)] 
[CALCITE-5103] Update docker-compose.yml files to use OpenJDK 17 and Gradle 7.4.2 images

5 months ago[CALCITE-5098] Migrate Avatica to Gradle 7.4.2, and support Java 16 and 17
Julian Hyde [Tue, 19 Apr 2022 04:56:03 +0000 (21:56 -0700)] 
[CALCITE-5098] Migrate Avatica to Gradle 7.4.2, and support Java 16 and 17

Before this change, Avatica used Gradle 6.8.1 and supported
Java versions up to 15. For Java 16 we need to upgrade to
Gradle 7, and for Java 17 we need Gradle 7.3. Gradle 7
removes support for the "testClasses" configuration.

Because of the "testClasses" change we need to prevent uses
of tests in one module by tests in another. In Calcite we
solved that problem by creating a testkit module (see
[CALCITE-4821]) but we don't go that far for Avatica. In the
dev branch you'll see I created a testkit module but then
removed it as overkill.

Add JDK 17 to GitHub CI. (Going forward, CI should test LTS
Java versions - currently 8, 11, 17 - plus the latest Java
version.)

Close apache/calcite-avatica#176

5 months ago[CALCITE-4971] Update httpclient and httpcore to latest 5.1 release
Istvan Toth [Tue, 5 Apr 2022 19:26:29 +0000 (15:26 -0400)] 
[CALCITE-4971] Update httpclient and httpcore to latest 5.1 release

Update mockito to 4.4.0, to try to fix JDK14 tests.

Give more time for the connection to time out from the cache during test.

Closes #174

Signed-off-by: Josh Elser <elserj@apache.org>
5 months ago[CALCITE-5009] Transparent JDBC connection re-creation may lead to data loss
Istvan Toth [Tue, 29 Mar 2022 10:43:34 +0000 (12:43 +0200)] 
[CALCITE-5009] Transparent JDBC connection re-creation may lead to data loss

CALCITE-903 has introduced a transaprent reconnection feature, which will open
a new server-side connection in case it is expired from the server side connection
cache.

While this is convinient for most read-only analytical workload, this
can cause a number a problems, including data loss for transactional connections.

This patch disables the transparent reconnect feature by default, and adds the
transparent_reconnection property, which re-enables it when set to true.

6 months agoAdd Apache license header to website publication Github workflows
Francis Chuang [Fri, 1 Apr 2022 01:45:36 +0000 (12:45 +1100)] 
Add Apache license header to website publication Github workflows

6 months ago[CALCITE-5075] Build fails due to rat check on Gemfile.lock
Francis Chuang [Fri, 1 Apr 2022 01:40:18 +0000 (12:40 +1100)] 
[CALCITE-5075] Build fails due to rat check on Gemfile.lock

6 months ago[CALCITE-3129] Automate website builds
Francis Chuang [Wed, 30 Mar 2022 08:43:38 +0000 (19:43 +1100)] 
[CALCITE-3129] Automate website builds

6 months ago[CALCITE-5070] Upgrade Jekyll and ruby gems for site generation
Francis Chuang [Tue, 29 Mar 2022 23:07:29 +0000 (10:07 +1100)] 
[CALCITE-5070] Upgrade Jekyll and ruby gems for site generation

9 months ago[CALCITE-4974] Upgrade log4j2 version to 2.17.1
Stamatis Zampetakis [Tue, 4 Jan 2022 11:56:41 +0000 (12:56 +0100)] 
[CALCITE-4974] Upgrade log4j2 version to 2.17.1

The 2.17.1 contains a fix for CVE-2021-44832 (security vulnerability)
and other minor improvements.

9 months ago[CALCITE-4962] Protobuf debug does not show request/response type
Marco Jorge [Thu, 23 Dec 2021 17:17:02 +0000 (12:17 -0500)] 
[CALCITE-4962] Protobuf debug does not show request/response type

9 months agoSite: Change the javadoc title to Apache Calcite Avatica API
nobigo [Fri, 31 Dec 2021 13:40:03 +0000 (21:40 +0800)] 
Site: Change the javadoc title to Apache Calcite Avatica API

9 months ago[CALCITE-4951] Upgrade log4j2 version to 2.17.0
Stamatis Zampetakis [Sat, 18 Dec 2021 13:34:19 +0000 (14:34 +0100)] 
[CALCITE-4951] Upgrade log4j2 version to 2.17.0

The 2.17.0 release fixes a new security vulnerability CVE-2021-45105.

9 months ago[CALCITE-4940] Upgrade log4j2 version to 2.16.0
Stamatis Zampetakis [Tue, 14 Dec 2021 09:25:07 +0000 (10:25 +0100)] 
[CALCITE-4940] Upgrade log4j2 version to 2.16.0

The 2.16.0 release has two additional fixes related to CVE-2021-4422 for
hardening security.

9 months agoSilence standard out messages in tests
Stamatis Zampetakis [Mon, 13 Dec 2021 16:22:06 +0000 (17:22 +0100)] 
Silence standard out messages in tests

Before this change running the tests prints a lot of messages to
standard out cluttering useful output (testname, success, failure, etc.)
and slowing down the build.

1. Remove direct calls to System.out in tests; it is considered bad
practice in general.
2. Remove SPNEGO debug information by unsetting System properties; when
necessary the developer can set them explicitly. Debug info shouldn't
be always on especially on standard out.
3. Use loggers instead of System.out to print useful info in production
code.

9 months agoUpdate website for Avatica 1.20.0 release
Julian Hyde [Mon, 13 Dec 2021 20:16:22 +0000 (12:16 -0800)] 
Update website for Avatica 1.20.0 release

Prepare for next development iteration, by updating version
number in gradle.properties.

9 months ago[CALCITE-4933] Release Avatica 1.20.0 stage avatica-1.20.0-rc0 rel/avatica-1.20.0
Julian Hyde [Sat, 11 Dec 2021 19:24:45 +0000 (11:24 -0800)] 
[CALCITE-4933] Release Avatica 1.20.0

9 months ago[CALCITE-4931] Upgrade SLF4J binding to Log4j2 version 2.15.0
Stamatis Zampetakis [Sat, 11 Dec 2021 00:03:11 +0000 (01:03 +0100)] 
[CALCITE-4931] Upgrade SLF4J binding to Log4j2 version 2.15.0

Log4j (binding) is used for testing purposes in various modules and
for production code (shaded) in standalone-server and tck modules.

1. Replace slf4j-log4j12 dependency (using Log4j 1.x)  with
log4j-slf4j-impl (using Log4j 2.x) and take latest version
2. Use XML syntax instead of property syntax for Log4j configuration. A
Log4j configuration is hierarchical by nature so formats with natural
support for nesting (such as XML) are easier to use.

Closes #164

Amending-author: Josh Elser <elserj@apache.org>

10 months agoDisable Travis job that uses Calcite master until [CALCITE-4877] is fixed
Julian Hyde [Tue, 9 Nov 2021 02:17:20 +0000 (18:17 -0800)] 
Disable Travis job that uses Calcite master until [CALCITE-4877] is fixed

10 months ago[CALCITE-4877] Make the exception information more explicit for instantiate plugin. 161/head
jincheng.sunjc [Sat, 6 Nov 2021 01:25:30 +0000 (09:25 +0800)] 
[CALCITE-4877] Make the exception information more explicit for instantiate plugin.

11 months ago[CALCITE-4840] Make README easier to scan
Jacques Nadeau [Fri, 8 Oct 2021 15:45:20 +0000 (08:45 -0700)] 
[CALCITE-4840] Make README easier to scan

11 months ago[CALCITE-4152] Upgrade Avatica to use the configurable SPNEGO Jetty implementation
Josh Elser [Fri, 1 Jan 2021 04:28:15 +0000 (23:28 -0500)] 
[CALCITE-4152] Upgrade Avatica to use the configurable SPNEGO Jetty implementation

Jetty has deprecated the previously-used version of SPNEGO login code.
This change requires a few other changes to adopt:

1. Removal of automatic server login via JAAS (Jetty removed this and
    expects explicit logins for the server).
2. Separation of Authentication and Authorization (we're required to
    use a LoginService for authz to use the new SPNEGO authentication).

For the benefit of making this change, we automatically inherit the
Jetty Session logic which can skip SPNEGO authentication for the 2nd
to Nth call to Avatica. For a "workload" which previously took N HTTP calls
to Avatica to perform, this can now be done in (N/2)+1 HTTP calls
which, for average Avatica calls, results in a nearly 2x speed-up.

Jetty Sessions will cause a JSESSIONID cookie to be sent back on the
successful SPNEGO authentication handshake. As long as the client
resubmits this cookie for subsequent requests, the identity of the
client is kept intact.

To test this more easily, this change also includes updates to the
Avatica StandaloneServer, which more easily enables setup of Avatica
against any database (e.g. hsqldb with the SCOTT dataset).

11 months ago[CALCITE-4828] Standard exception console output
NobiGo [Tue, 19 Oct 2021 19:47:49 +0000 (03:47 +0800)] 
[CALCITE-4828] Standard exception console output

11 months ago[CALCITE-4837] FLOOR/CEIL for DECADE, CENTURY, MILLENIUM return wrong results
snuyanzin [Thu, 7 Oct 2021 07:11:58 +0000 (09:11 +0200)] 
[CALCITE-4837] FLOOR/CEIL for DECADE, CENTURY, MILLENIUM return wrong results

Close apache/calcite-avatica#158

11 months agoUpdate website for Avatica 1.19.0 release
Julian Hyde [Sat, 9 Oct 2021 04:50:03 +0000 (21:50 -0700)] 
Update website for Avatica 1.19.0 release

Prepare for next development iteration, by updating version
number in gradle.properties.

Various minor fixes to process documented in howto.

12 months ago[CALCITE-4797] Release Avatica 1.19.0 avatica-1.19.0-rc0 rel/avatica-1.19.0
Julian Hyde [Sun, 3 Oct 2021 18:19:41 +0000 (13:19 -0500)] 
[CALCITE-4797] Release Avatica 1.19.0

12 months ago[CALCITE-4573] NullPointerException while fetching from a column of type ARRAY
chenyuzhi459 [Fri, 9 Apr 2021 11:53:42 +0000 (19:53 +0800)] 
[CALCITE-4573] NullPointerException while fetching from a column of type ARRAY

Close apache/calcite-avatica#141

12 months ago[CALCITE-4626] Upgrade protobuf version to 3.17.1 to remove com.google.protobuf.Unsaf...
Amann Malik [Sat, 29 May 2021 21:55:32 +0000 (16:55 -0500)] 
[CALCITE-4626] Upgrade protobuf version to 3.17.1 to remove com.google.protobuf.UnsafeUtil warnings

Close apache/calcite-avatica#146

12 months ago[CALCITE-4602] ClassCastException retrieving from ARRAY that has mixed INTEGER and...
snuyanzin [Tue, 11 May 2021 13:54:30 +0000 (15:54 +0200)] 
[CALCITE-4602] ClassCastException retrieving from ARRAY that has mixed INTEGER and DECIMAL elements

Close apache/calcite-avatica#143

12 months ago[CALCITE-4600] ClassCastException retrieving from an ARRAY that has DATE, TIME or...
snuyanzin [Mon, 10 May 2021 01:04:20 +0000 (03:04 +0200)] 
[CALCITE-4600] ClassCastException retrieving from an ARRAY that has DATE, TIME or TIMESTAMP elements

Support DATE/TIME/TIMESTAMP slot object's content for
Date/Time/Timestamp array accessors.

Rename method DateFromNumberAccessor#getDate to
DateFromNumberAccessor#getNumber.

Fix tests that were introduced in the following changes
(Alessandro Solimando):
 * [CALCITE-4757] Allow columns of type Null in ResultSet
 * [CALCITE-4536] Add support for BIT data type

Close apache/calcite-avatica#154

12 months agoUpgrade forbiddenapis 2.7 -> 3.2, and Guava to 14.0.1 -> 31.0.1-jre
Julian Hyde [Thu, 30 Sep 2021 19:20:16 +0000 (14:20 -0500)] 
Upgrade forbiddenapis 2.7 -> 3.2, and Guava to 14.0.1 -> 31.0.1-jre

The default Guava version is now 31.0.1-jre, and we allow any
Guava version between 14.0.1 and 31.0.1-jre.

For versions 22 to 29 inclusive, Guava does not correctly
include some MIT licenses for some dependent libraries, so
we disable certain Gradle tasks. See .travis.yml and
[CALCITE-4815] for details.

In the Travis test matrix, add tests for various Guava
versions and time zones.

12 months ago[CALCITE-4790] Make Gradle pass the 'user.timezone' property to the test JVM
Alessandro Solimando [Thu, 30 Sep 2021 19:06:14 +0000 (14:06 -0500)] 
[CALCITE-4790] Make Gradle pass the 'user.timezone' property to the test JVM

12 months ago[CALCITE-4815] Enforce shaded artifacts include checker-qual 3.10.0 or later
Vladimir Sitnikov [Fri, 1 Oct 2021 06:53:27 +0000 (09:53 +0300)] 
[CALCITE-4815] Enforce shaded artifacts include checker-qual 3.10.0 or later

checker-qual has MIT license, so it requires to include the license text when redistributing checker-qual.
checker-qual before 3.0.0 did not include the license file as a part of the jar, so we enforce the newer version.

12 months ago[CALCITE-4757] Allow columns of type Null in ResultSet (NobiGo)
NobiGo [Sat, 28 Aug 2021 11:19:09 +0000 (19:19 +0800)] 
[CALCITE-4757] Allow columns of type Null in ResultSet (NobiGo)

Close apache/calcite-avatica#152

12 months ago[CALCITE-4767] Add Quoting.BACK_TICK_BACKSLASH (Jack Scott)
Jack Scott [Wed, 15 Sep 2021 19:28:14 +0000 (12:28 -0700)] 
[CALCITE-4767] Add Quoting.BACK_TICK_BACKSLASH (Jack Scott)

BACK_TICK_BACKSLASH is added to support Google BigQuery's
identifier syntax.

We also add SINGLE_QUOTE and SINGLE_QUOTE_BACKSLASH, which
are not used by any known dialect, for possible future use.

Close apache/calcite-avatica#153

12 months ago[CALCITE-4536] Add support for BIT data type (Zeng Rui)
zengruios [Sun, 9 May 2021 03:19:20 +0000 (11:19 +0800)] 
[CALCITE-4536] Add support for BIT data type (Zeng Rui)

Close apache/calcite-avatica#142

12 months ago[CALCITE-4755] Prepare for next development iteration (Istvan Toth)
Istvan Toth [Fri, 27 Aug 2021 06:23:48 +0000 (08:23 +0200)] 
[CALCITE-4755] Prepare for next development iteration (Istvan Toth)

This step was missed when the Avatica 1.18.0 was released.

Close apache/calcite-avatica#151

13 months ago[CALCITE-4752] PreparedStatement#SetObject() fails for BigDecimal values
Istvan Toth [Thu, 26 Aug 2021 08:57:11 +0000 (10:57 +0200)] 
[CALCITE-4752] PreparedStatement#SetObject() fails for BigDecimal values

14 months ago[CALCITE-4646] Bump Jetty version to 9.4.42.v20210604 (Istvan Toth)
Istvan Toth [Fri, 11 Jun 2021 07:45:29 +0000 (09:45 +0200)] 
[CALCITE-4646] Bump Jetty version to 9.4.42.v20210604 (Istvan Toth)

Updating jetty.version causes several SPENGO tests to fail
due to a breaking change in Jetty. The threads created by
Jetty no longer run as the Subject Jetty was started as.

1. Add new custom ThreadFactrory to obtain the old
behavior and overcome failures.
2. Copy most of org.apache.calcite.util.Sources to Avatica,
and use them in tests.
3. Remove illegal leading slash in the file paths to avoid
test failures on Windows.

Close apache/calcite-avatica#147

14 months ago[CALCITE-4676] Avatica client leaks TCP connections
Istvan Toth [Tue, 6 Jul 2021 05:19:32 +0000 (07:19 +0200)] 
[CALCITE-4676] Avatica client leaks TCP connections

Refactor the default client implementation to use global HTTP Connection
Pools instead of one per JDBC connection.

16 months agoSite: Remove nowadays redundant minified javascript files
Stamatis Zampetakis [Fri, 4 Jun 2021 09:33:04 +0000 (11:33 +0200)] 
Site: Remove nowadays redundant minified javascript files

Remove html5shiv.min.js/respond.min.js

The scripts ensure compatibility with old web browsers such as IE9.
However, most (if not all) of these browsers are not used nowadays
cause they are very old thus there is no need to use these scripts.

16 months agoBump javadoc compilation gradle image to 6.8
Francis Chuang [Tue, 18 May 2021 12:17:56 +0000 (22:17 +1000)] 
Bump javadoc compilation gradle image to 6.8

16 months agoUpdate website for Avatica 1.18.0 release
Francis Chuang [Tue, 18 May 2021 12:01:12 +0000 (22:01 +1000)] 
Update website for Avatica 1.18.0 release

16 months agoUpdate release history for 1.18.0 rc1 avatica-1.18.0-rc1 rel/avatica-1.18.0
Francis Chuang [Wed, 12 May 2021 04:45:30 +0000 (14:45 +1000)] 
Update release history for 1.18.0 rc1

16 months ago[CALCITE-4576] Release process should not overwrite LICENSE file
Julian Hyde [Wed, 12 May 2021 00:07:21 +0000 (17:07 -0700)] 
[CALCITE-4576] Release process should not overwrite LICENSE file

16 months ago[CALCITE-4575] Remove Gradle wrapper from source distribution
Julian Hyde [Tue, 11 May 2021 18:53:18 +0000 (11:53 -0700)] 
[CALCITE-4575] Remove Gradle wrapper from source distribution

17 months ago[CALCITE-4488] Prepare for Avatica 1.18.0 release avatica-1.18.0-rc0
Francis Chuang [Wed, 7 Apr 2021 23:03:39 +0000 (09:03 +1000)] 
[CALCITE-4488] Prepare for Avatica 1.18.0 release

17 months agoUpgrade Gradle docker containers to 6.8
Francis Chuang [Wed, 7 Apr 2021 23:00:20 +0000 (09:00 +1000)] 
Upgrade Gradle docker containers to 6.8

17 months ago[CALCITE-4503] Order of fields in records should follow that of the SQL types (Alessa...
Alessandro Solimando [Sat, 6 Feb 2021 18:30:55 +0000 (19:30 +0100)] 
[CALCITE-4503] Order of fields in records should follow that of the SQL types (Alessandro Solimando)

1. RECORD and RECORD_PROJECTION are now handled in the same way (both require fields)
so there is no point keeping both.
2. Adapt LocalService#toResponse after dropping RECORD_PROJECTION to prevent broken clients,
and add notes about the change of CursorFactory.
3. Update history.md with details on the breaking change.
4. Add javadoc for deduce method.

Close apache/calcite-avatica#138

19 months agoReplace AssertTestUtils with custom Hamcrest matcher for accessors content
Stamatis Zampetakis [Fri, 26 Feb 2021 14:32:42 +0000 (15:32 +0100)] 
Replace AssertTestUtils with custom Hamcrest matcher for accessors content

Assertions regarding:
* verification of the number of created accessors;
* verification of the metadata of the accessor's result set;
are removed since they are part of the test setup.

19 months agoImprove test coverage for float/real/double array types (Alessandro Solimando)
Alessandro Solimando [Sat, 20 Feb 2021 19:24:39 +0000 (20:24 +0100)] 
Improve test coverage for float/real/double array types (Alessandro Solimando)

1. Add missing unit tests for CALCITE-3163
2. Reduce warnings in ArrayTypeTest.java
3. Refactor related code to improve readability

Close apache/calcite-avatica#139

19 months ago[CALCITE-3163] Incorrect mapping of JDBC float/real array types to Java types (Ralph...
Ralph Gasser [Mon, 1 Jul 2019 11:23:13 +0000 (13:23 +0200)] 
[CALCITE-3163] Incorrect mapping of JDBC float/real array types to Java types (Ralph Gasser)

Close apache/calcite-avatica#105

19 months ago[CALCITE-3881] DateTimeUtils.addMonths yields incorrect results (Zhenghua Gao)
Zhenghua Gao [Fri, 27 Mar 2020 12:11:25 +0000 (20:11 +0800)] 
[CALCITE-3881] DateTimeUtils.addMonths yields incorrect results (Zhenghua Gao)

Close apache/calcite-avatica#121

19 months ago[CALCITE-3401] Assume empty keystore passwords by default (Istvan Toth, Alessandro...
Istvan Toth [Fri, 11 Oct 2019 12:47:49 +0000 (14:47 +0200)] 
[CALCITE-3401] Assume empty keystore passwords by default (Istvan Toth, Alessandro Solimando)

20 months ago[CALCITE-4476] DateTimeUtils.timeStringToUnixDate may produce wrong time (Vladimir...
devozerov [Mon, 25 Jan 2021 13:48:00 +0000 (16:48 +0300)] 
[CALCITE-4476] DateTimeUtils.timeStringToUnixDate may produce wrong time (Vladimir Ozerov)

Close apache/calcite-avatica#134

20 months agoBump Gradle 6.7 -> 6.8.1
Vladimir Sitnikov [Fri, 8 Jan 2021 20:49:36 +0000 (23:49 +0300)] 
Bump Gradle 6.7 -> 6.8.1

See https://docs.gradle.org/6.8.1/release-notes.html

- Faster Kotlin DSL script compilation
- Vendor selection for Java toolchains
- Task execution in composite builds
- Consistent dependency resolution

20 months ago[CALCITE-4181] Avatica throws exception when select field is a List<Object> (Kent...
Kent Nguyen [Thu, 20 Aug 2020 06:29:15 +0000 (13:29 +0700)] 
[CALCITE-4181] Avatica throws exception when select field is a List<Object> (Kent Nguyen)

21 months ago[CALCITE-4367] Correct Avatica protocol docs
Josh Elser [Thu, 24 Dec 2020 01:46:45 +0000 (20:46 -0500)] 
[CALCITE-4367] Correct Avatica protocol docs

isDirty needs to be deprecated and removed as it should
not have been in the protocol to begin with.

Closes #131

Signed-off-by: Kevin Risden <krisden@apache.org>
22 months ago[CALCITE-4379] Meta.Frame created with java float values in rows hits a ClassCastExce...
Dmitri Bourlatchkov [Thu, 5 Nov 2020 17:38:46 +0000 (12:38 -0500)] 
[CALCITE-4379] Meta.Frame created with java float values in rows hits a ClassCastException in toProto()

* Remove unnecessary conversion of Float values to long in
  TypedValue.toProto(...). The subsequently invoked writeToProtoWithType(...)
  method actually expects float values in this case.

* Make a similar fix for Character values.

* Add Frame serialization round-trip unit tests to cover this failure mode.

* Note: a similar problem appears to still exist for Timestamp and Date/Time
  values in this context, but I did not attempt to fix it in this commit because
  there is apparently no use case for putting Timestamp/Date/Time objects into
  Frames. Those values are normally returned as plain numbers in result rows.

Closes #130

Signed-off-by: Josh Elser <elserj@apache.org>
23 months agoRemove files that change often from Travis cache, remove broken files automatically
Vladimir Sitnikov [Sun, 18 Oct 2020 09:13:30 +0000 (12:13 +0300)] 
Remove files that change often from Travis cache, remove broken files automatically

The cache itself is useful, however, there might be two problems:
* Corrupted files might get cached, so the subsequent builds would fail
* Too large cache might slowdown the build

cleanup-gradle-cache solves both issues.

The cache itself is still re-uploaded on every build (see "store build cache"),
so it might need more investigations.

23 months agoUpdate Gradle: 6.3 -> 6.7 128/head
Vladimir Sitnikov [Sun, 18 Oct 2020 08:53:56 +0000 (11:53 +0300)] 
Update Gradle: 6.3 -> 6.7

2 years ago[CALCITE-3841] Change downloads page to use downloads.apache.org
Francis Chuang [Mon, 28 Sep 2020 09:29:06 +0000 (19:29 +1000)] 
[CALCITE-3841] Change downloads page to use downloads.apache.org

2 years ago[CALCITE-4196] Consume all data from client before replying with HTTP/401
Josh Elser [Thu, 27 Aug 2020 17:56:23 +0000 (13:56 -0400)] 
[CALCITE-4196] Consume all data from client before replying with HTTP/401

SPNEGO's handshake involves sending an HTTP/401 to "challenge" the
client to reply with authentication data. If the client is sending
a significant amount of data in the original request, the client
will still be writing this data when the server replies. This causes
the client to receive a TCP Reset when it continues to write data, and
ultimately manifests in a "Broken Pipe" runtime exception.

The fix is to simply consume all data the client wrote prior to
responding with the HTTP/401.

Closes #127

Signed-off-by: Kevin Risden <krisden@apache.org>
2 years ago[CALCITE-4095] Update Jetty to 9.4.31.v20200723
Peter Somogyi [Wed, 12 Aug 2020 11:38:29 +0000 (13:38 +0200)] 
[CALCITE-4095] Update Jetty to 9.4.31.v20200723

Jetty upgrade also includes the migration to `SslContextFactory.Server` from `SslContextFactory`

Closes #125

2 years ago[CALCITE-4138] Metadata operations via Avatica turn empty string args to null
Istvan Toth [Sat, 25 Jul 2020 09:14:41 +0000 (11:14 +0200)] 
[CALCITE-4138] Metadata operations via Avatica turn empty string args to null

Closes #123

Signed-off-by: Josh Elser <elserj@apache.org>
2 years ago[CALCITE-4068] Update website for 1.17.0 release
Francis Chuang [Mon, 22 Jun 2020 23:43:00 +0000 (09:43 +1000)] 
[CALCITE-4068] Update website for 1.17.0 release

2 years ago[CALCITE-4068] Prepare for Avatica 1.17.0 release and update release history 1.17.0 avatica-1.17.0-rc0 rel/avatica-1.17.0
Francis Chuang [Wed, 17 Jun 2020 00:18:08 +0000 (10:18 +1000)] 
[CALCITE-4068] Prepare for Avatica 1.17.0 release and update release history

2 years agoFix invalid link
Pieter Raubenheimer [Thu, 2 Apr 2020 17:44:37 +0000 (18:44 +0100)] 
Fix invalid link

2 years agoUpdate Gradle: 6.1.1 -> 6.3 120/head
Vladimir Sitnikov [Wed, 25 Mar 2020 12:09:12 +0000 (15:09 +0300)] 
Update Gradle: 6.1.1 -> 6.3

2 years agoUpdate com.google.protobuf: 0.8.10 -> 0.8.12
Vladimir Sitnikov [Sat, 4 Apr 2020 16:05:54 +0000 (19:05 +0300)] 
Update com.google.protobuf: 0.8.10 -> 0.8.12

The update reduces Gradle warnings

2 years ago[CALCITE-3822] Source distribution must not contain fonts under SIL OFL 1.1 license...
Francis Chuang [Mon, 2 Mar 2020 22:19:44 +0000 (09:19 +1100)] 
[CALCITE-3822] Source distribution must not contain fonts under SIL OFL 1.1 license (category B)

2 years agoColor test results in Gradle output
Vladimir Sitnikov [Fri, 7 Feb 2020 15:44:45 +0000 (18:44 +0300)] 
Color test results in Gradle output

The coloring is enabled by default except on Windows.
It can be configured via `-Pnocolor`, `-Pnocolor=true|false`.

Colors:
* red: errors > 0
* blue: skipped > 0 or totalTests == 0
* bold: test duration exceeds slowTestLogThreshold (2000 by default)

2 years agoUpdate Gradle: 6.1 -> 6.1.1
Vladimir Sitnikov [Fri, 31 Jan 2020 14:54:30 +0000 (17:54 +0300)] 
Update Gradle: 6.1 -> 6.1.1

See https://docs.gradle.org/6.1.1/release-notes.html#fixed-issues

2 years agoBump Avatica version to 1.17.0
Josh Elser [Fri, 17 Jan 2020 17:33:34 +0000 (12:33 -0500)] 
Bump Avatica version to 1.17.0

2 years ago[CALCITE-2704] Multilingual decoded problem (DonnyZone)
wellfengzhu [Fri, 17 Jan 2020 05:52:31 +0000 (13:52 +0800)] 
[CALCITE-2704] Multilingual decoded problem (DonnyZone)

Closes #119

Signed-off-by: Josh Elser <elserj@apache.org>
2 years agoAdd Gradle Wrapper validation
Vladimir Sitnikov [Fri, 17 Jan 2020 08:17:03 +0000 (11:17 +0300)] 
Add Gradle Wrapper validation

2 years ago[CALCITE-3742] Update Gradle: 6.0.1 -> 6.1
Vladimir Sitnikov [Thu, 16 Jan 2020 12:36:59 +0000 (15:36 +0300)] 
[CALCITE-3742] Update Gradle: 6.0.1 -> 6.1

2 years ago[CALCITE-3623] Run autostyleApply 118/head
Vladimir Sitnikov [Sat, 28 Dec 2019 13:28:49 +0000 (16:28 +0300)] 
[CALCITE-3623] Run autostyleApply

2 years ago[CALCITE-3623] Replace Spotless -> Autostyle
Vladimir Sitnikov [Fri, 27 Dec 2019 20:44:16 +0000 (23:44 +0300)] 
[CALCITE-3623] Replace Spotless -> Autostyle

2 years ago[CALCITE-3610] Fix Dockerhub dockerfiles to point to the right jars on nexus
Francis Chuang [Sun, 22 Dec 2019 21:33:05 +0000 (08:33 +1100)] 
[CALCITE-3610] Fix Dockerhub dockerfiles to point to the right jars on nexus

2 years agoMove PGP signing to com.github.vlsi.stage-vote-release Gradle plugin
Vladimir Sitnikov [Sun, 22 Dec 2019 13:10:46 +0000 (16:10 +0300)] 
Move PGP signing to com.github.vlsi.stage-vote-release Gradle plugin

2 years agoUpdate RAT plugin 0.5.2 -> 0.5.3: print violations to console if any
Vladimir Sitnikov [Sun, 22 Dec 2019 11:18:07 +0000 (14:18 +0300)] 
Update RAT plugin 0.5.2 -> 0.5.3: print violations to console if any

It simplifies analysis of CI logs

2 years ago[CALCITE-3398] Update website for 1.16.0 release
Francis Chuang [Wed, 18 Dec 2019 22:52:30 +0000 (09:52 +1100)] 
[CALCITE-3398] Update website for 1.16.0 release

2 years agoGHA: use actions/checkout@v2 for faster checkouts
Vladimir Sitnikov [Fri, 13 Dec 2019 18:05:32 +0000 (21:05 +0300)] 
GHA: use actions/checkout@v2 for faster checkouts