Author: jhyde
Date: Fri Mar 9 09:04:47 2018
New Revision: 1826304
URL: http://svn.apache.org/viewvc?rev=1826304&view=rev
Log:
Upgrade ruby, and recent changes
Modified:
calcite/site/avatica/community/index.html
calcite/site/avatica/develop/index.html
calcite/site/avatica/docs/client_reference.html
calcite/site/avatica/docs/compatibility.html
calcite/site/avatica/docs/custom_client_artifacts.html
calcite/site/avatica/docs/docker.html
calcite/site/avatica/docs/history.html
calcite/site/avatica/docs/howto.html
calcite/site/avatica/docs/index.html
calcite/site/avatica/docs/json_reference.html
calcite/site/avatica/docs/protobuf_reference.html
calcite/site/avatica/docs/protocol_testing.html
calcite/site/avatica/docs/roadmap.html
calcite/site/avatica/docs/security.html
calcite/site/avatica/downloads/index.html
calcite/site/avatica/index.html
calcite/site/avatica/news/2016/03/03/separate-project/index.html
calcite/site/avatica/news/2016/03/18/release-1.7.1/index.html
calcite/site/avatica/news/2016/06/04/release-1.8.0/index.html
calcite/site/avatica/news/2016/11/01/release-1.9.0/index.html
calcite/site/avatica/news/2017/03/31/new-avatica-repository/index.html
calcite/site/avatica/news/2017/05/30/release-1.10.0/index.html
calcite/site/avatica/news/index.html
calcite/site/avatica/news/releases/index.html
Modified: calcite/site/avatica/community/index.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/community/index.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/community/index.html (original)
+++ calcite/site/avatica/community/index.html Fri Mar 9 09:04:47 2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Community</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -226,11 +226,11 @@
<p>There are several development mailing lists for Calcite:</p>
<ul>
- <li><a
href="mailto:dev@calcite.apache.org">dev@calcite.apache.org</a>
- Development discussions
+ <li><a href="mailto:[email protected]">[email protected]</a> -
Development discussions
[<a
href="https://mail-archives.apache.org/mod_mbox/calcite-dev/">archive</a>]</li>
- <li><a
href="mailto:issues@calcite.apache.org">issues@calcite.apache.org</a>
- Bug tracking
+ <li><a href="mailto:[email protected]">[email protected]</a>
- Bug tracking
[<a
href="https://mail-archives.apache.org/mod_mbox/calcite-issues/">archive</a>]</li>
- <li><a
href="mailto:commits@calcite.apache.org">commits@calcite.apache.org</a>
- Git tracking
+ <li><a
href="mailto:[email protected]">[email protected]</a> - Git
tracking
[<a
href="https://mail-archives.apache.org/mod_mbox/calcite-commits/">archive</a>]</li>
</ul>
@@ -245,11 +245,11 @@
<ul>
<li><strong>Mailing Lists</strong>.
The best option is to send email to the developers list
-<a
href="mailto:dev@calcite.apache.org">dev@calcite.apache.org</a>.
All
+<a href="mailto:[email protected]">[email protected]</a>. All
of the historic traffic is available in the
<a href="http://mail-archives.apache.org/mod_mbox/calcite-dev/">archive</a>. To
subscribe to the user list, please send email to
-<a
href="mailto:dev-subscribe@calcite.apache.org">dev-subscribe@calcite.apache.org</a>.</li>
+<a
href="mailto:[email protected]">[email protected]</a>.</li>
<li><strong>Bug Reports</strong>.
Please file any issues you encounter or fixes youâd like on the
<a href="https://issues.apache.org/jira/browse/CALCITE">Calcite Jira</a>. We
welcome
@@ -279,7 +279,7 @@ The code is available on <a href="https:
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
Modified: calcite/site/avatica/develop/index.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/develop/index.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/develop/index.html (original)
+++ calcite/site/avatica/develop/index.html Fri Mar 9 09:04:47 2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Developing Calcite</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -90,7 +90,10 @@
<ul id="markdown-toc">
<li><a href="#source-code" id="markdown-toc-source-code">Source code</a></li>
- <li><a href="#download-source-build-and-run-tests"
id="markdown-toc-download-source-build-and-run-tests">Download source, build,
and run tests</a></li>
+ <li><a href="#download-source-build-and-run-tests"
id="markdown-toc-download-source-build-and-run-tests">Download source, build,
and run tests</a> <ul>
+ <li><a href="#disabling-protobuf-generation"
id="markdown-toc-disabling-protobuf-generation">Disabling protobuf
generation</a></li>
+ </ul>
+ </li>
<li><a href="#contributing"
id="markdown-toc-contributing">Contributing</a></li>
<li><a href="#continuous-integration-testing"
id="markdown-toc-continuous-integration-testing">Continuous Integration
Testing</a></li>
<li><a href="#getting-started" id="markdown-toc-getting-started">Getting
started</a></li>
@@ -125,6 +128,24 @@ then build using maven:</p>
<a href="/avatica/docs/howto.html#running-tests">run more or fewer tests</a>
and
<a href="/avatica/docs/howto.html#running-integration-tests">run integration
tests</a>.</p>
+<h3 id="disabling-protobuf-generation">Disabling protobuf generation</h3>
+
+<p>On older operating systems, developers trying to build Avatica may
experience
+issues with the Xolstice maven-protobuf-plugin, similar to the following:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>[INFO] Compiling 3
proto file(s) to /avatica/core/src/main/java
+[ERROR] PROTOC FAILED:
/avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe:
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by
/avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe)
+[ERROR] /avatica/core/src/main/protobuf/common.proto [0:0]:
/avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe:
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by
/avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe)
+[ERROR] /avatica/core/src/main/protobuf/responses.proto [0:0]:
/avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe:
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by
/avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe)
+[ERROR] /avatica/core/src/main/protobuf/requests.proto [0:0]:
/avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe:
/lib64/libc.so.6: version `GLIBC_2.14' not found (required by
/avatica/core/target/protoc-plugins/protoc-3.1.0-linux-x86_64.exe)
+</code></pre>
+</div>
+
+<p>In most cases, it is unnecessary to re-generate the Protobuf messages into
Java code. Developers
+can side-step this issue by disabling the <code
class="highlighter-rouge">compile-protobuf</code> profile in their Maven
execution.</p>
+
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>mvn package
-P!compile-protobuf</code></pre></figure>
+
<h2 id="contributing">Contributing</h2>
<p>We welcome contributions.</p>
@@ -197,7 +218,7 @@ or just by answering questions on the li
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
Modified: calcite/site/avatica/docs/client_reference.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/docs/client_reference.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/docs/client_reference.html (original)
+++ calcite/site/avatica/docs/client_reference.html Fri Mar 9 09:04:47 2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Client Reference</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -950,7 +950,7 @@ necessary when using HTTPS.</p>
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
Modified: calcite/site/avatica/docs/compatibility.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/docs/compatibility.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/docs/compatibility.html (original)
+++ calcite/site/avatica/docs/compatibility.html Fri Mar 9 09:04:47 2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Compatibility</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -610,24 +610,24 @@ script which prints a summary of testing
all other versions in the YAML configuration. An example summary is presented
below which is the result of testing versions 1.6.0, 1.7.1 and
1.8.0-SNAPSHOT:</p>
-<p>```
-Summary:</p>
+<div class="highlighter-rouge"><pre class="highlight"><code>Summary:
-<p>Identity test scenarios (ran 3)</p>
+Identity test scenarios (ran 3)
-<p>Testing identity for version v1.6.0: Passed
+Testing identity for version v1.6.0: Passed
Testing identity for version v1.7.1: Passed
-Testing identity for version v1.8.0-SNAPSHOT: Failed</p>
+Testing identity for version v1.8.0-SNAPSHOT: Failed
-<p>All test scenarios (ran 6)</p>
+All test scenarios (ran 6)
-<p>Testing client v1.6.0 against server v1.7.1: Passed
+Testing client v1.6.0 against server v1.7.1: Passed
Testing client v1.6.0 against server v1.8.0-SNAPSHOT: Failed
Testing client v1.7.1 against server v1.6.0: Passed
Testing client v1.7.1 against server v1.8.0-SNAPSHOT: Failed
Testing client v1.8.0-SNAPSHOT against server v1.6.0: Failed
Testing client v1.8.0-SNAPSHOT against server v1.7.1: Failed
-```</p>
+</code></pre>
+</div>
<p>It is not always expected that all tested version-pairs will pass unless the
test is written with specific knowledge about past bugs in Avatica itself.
While
@@ -877,7 +877,7 @@ running the TCK, reference the provided
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
Modified: calcite/site/avatica/docs/custom_client_artifacts.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/docs/custom_client_artifacts.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/docs/custom_client_artifacts.html (original)
+++ calcite/site/avatica/docs/custom_client_artifacts.html Fri Mar 9 09:04:47
2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Custom Client Artifacts</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -909,7 +909,7 @@ a brief <code class="highlighter-rouge">
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
Modified: calcite/site/avatica/docs/docker.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/docs/docker.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/docs/docker.html (original)
+++ calcite/site/avatica/docs/docker.html Fri Mar 9 09:04:47 2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Docker Images</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -611,31 +611,30 @@ file will start an instance of PostgreSQ
exposing an Avatica server configured against a ârealâ PostgreSQL
database.</p>
<p>All of the <code class="highlighter-rouge">Dockerfile</code> and <code
class="highlighter-rouge">docker-compose.yml</code> files are conveniently
provided in an archive for
-each release. Here is the layout for release 1.10.0:</p>
+each release. Here is the layout for release 1.11.0:</p>
-<p><code class="highlighter-rouge">
-avatica-docker-1.10.0/
-avatica-docker-1.10.0/hypersql/
-avatica-docker-1.10.0/mysql/
-avatica-docker-1.10.0/postgresql/
-avatica-docker-1.10.0/Dockerfile
-avatica-docker-1.10.0/hypersql/build.sh
-avatica-docker-1.10.0/hypersql/Dockerfile
-avatica-docker-1.10.0/mysql/build.sh
-avatica-docker-1.10.0/mysql/docker-compose.yml
-avatica-docker-1.10.0/mysql/Dockerfile
-avatica-docker-1.10.0/postgresql/build.sh
-avatica-docker-1.10.0/postgresql/docker-compose.yml
-avatica-docker-1.10.0/postgresql/Dockerfile
-</code></p>
+<div class="highlighter-rouge"><pre
class="highlight"><code>avatica-docker-1.11.0/
+avatica-docker-1.11.0/hypersql/
+avatica-docker-1.11.0/mysql/
+avatica-docker-1.11.0/postgresql/
+avatica-docker-1.11.0/Dockerfile
+avatica-docker-1.11.0/hypersql/build.sh
+avatica-docker-1.11.0/hypersql/Dockerfile
+avatica-docker-1.11.0/mysql/build.sh
+avatica-docker-1.11.0/mysql/docker-compose.yml
+avatica-docker-1.11.0/mysql/Dockerfile
+avatica-docker-1.11.0/postgresql/build.sh
+avatica-docker-1.11.0/postgresql/docker-compose.yml
+avatica-docker-1.11.0/postgresql/Dockerfile
+</code></pre>
+</div>
<h4 id="running">Running</h4>
<p>Each of the provided database-specific Docker images set an <code
class="highlighter-rouge">ENTRYPOINT</code> which
encapsulate most of the Java command. The following options are available to
specify:</p>
-<p><code class="highlighter-rouge">
-Usage: <main class> [options]
+<div class="highlighter-rouge"><pre class="highlight"><code>Usage: <main
class> [options]
Options:
-h, -help, --help
Print the help message
@@ -649,21 +648,22 @@ Usage: <main class> [options]
Possible Values: [JSON, PROTOBUF]
* -u, --url
JDBC driver url for the server
-</code></p>
+</code></pre>
+</div>
<p>For example, to connect to a MySQL server, the following could be used:</p>
-<p><code class="highlighter-rouge">
-$ ./avatica-docker-*/mysql/build.sh
+<div class="highlighter-rouge"><pre class="highlight"><code>$
./avatica-docker-*/mysql/build.sh
$ docker run --rm -it avatica-mysql-server \
-u jdbc:mysql://<fqdn>:3306/my_database
-</code></p>
+</code></pre>
+</div>
<p>To debug these docker images, the <code
class="highlighter-rouge">ENTRYPOINT</code> can be overriden to launch a
shell</p>
-<p><code class="highlighter-rouge">
-$ docker run --rm --entrypoint='' -it avatica-mysql-server /bin/sh
-</code></p>
+<div class="highlighter-rouge"><pre class="highlight"><code>$ docker run --rm
--entrypoint='' -it avatica-mysql-server /bin/sh
+</code></pre>
+</div>
<h3 id="running-docker-containers-for-custom-databases">Running Docker
containers for custom databases</h3>
@@ -676,13 +676,13 @@ do, but this is also achievable via the
machine <code
class="highlighter-rouge">/home/user/my-database-jars/my-database-jdbc-1.0.jar</code>.
We can run the following command to
launch a custom Avatica server against our database with this JDBC driver.</p>
-<p><code class="highlighter-rouge">
-$ docker run --rm -p 8765:8765 \
+<div class="highlighter-rouge"><pre class="highlight"><code>$ docker run --rm
-p 8765:8765 \
-v /home/user/my-database-jars/:/my-database-jars --entrypoint="" -it
avatica-server \
/usr/bin/java -cp "/home/avatica/classpath/*:/my-database-jars/*" \
org.apache.calcite.avatica.standalone.StandaloneServer -p 8765 \
-u "jdbc:my_jdbc_url"
-</code></p>
+</code></pre>
+</div>
<p>This command does the following:</p>
@@ -936,7 +936,7 @@ $ docker run --rm -p 8765:8765 \
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
Modified: calcite/site/avatica/docs/history.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/docs/history.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/docs/history.html (original)
+++ calcite/site/avatica/docs/history.html Fri Mar 9 09:04:47 2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>History</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -568,6 +568,85 @@
Downloads are available on the
<a href="/avatica/downloads/">downloads page</a>.</p>
+<h2 id="v1-11-0"><a
href="https://github.com/apache/calcite-avatica/releases/tag/calcite-avatica-1.11.0">1.11.0</a>
/ 2018-03-09</h2>
+
+<p>Apache Calcite Avatica 1.11.0 adds support for JDK 10 and drops
+support for JDK 7. There are more than 20 bug fixes and new features.</p>
+
+<p>Compatibility: This release is tested
+on Linux, macOS, Microsoft Windows;
+using Oracle JDK 8, 9, 10;
+Guava versions 14.0 to 23.0;
+other software versions as specified in <code
class="highlighter-rouge">pom.xml</code>.</p>
+
+<p>Features and bug fixes</p>
+
+<ul>
+ <li>Generate sha256 checksums for releases (previous releases used md5 and
sha1)</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2199">CALCITE-2199</a>]
+Allow methods overriding <code
class="highlighter-rouge">AvaticaResultSet.getStatement()</code> to throw a
+<code class="highlighter-rouge">SQLException</code> (Benjamin Cogrel)</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-508">CALCITE-508</a>]
+Ensure that <code class="highlighter-rouge">RuntimeException</code> is wrapped
in <code class="highlighter-rouge">SQLException</code></li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2013">CALCITE-2013</a>]
+Upgrade HSQLDB to 2.4</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2154">CALCITE-2154</a>]
+Upgrade jackson to 2.9.4</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2140">CALCITE-2140</a>]
+Basic implementation of <code
class="highlighter-rouge">Statement.getMoreResults()</code></li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2086">CALCITE-2086</a>]
+Increased max allowed HTTP header size to 64KB</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2073">CALCITE-2073</a>]
+Allow disabling of the <code
class="highlighter-rouge">maven-protobuf-plugin</code></li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2017">CALCITE-2017</a>]
+Support JAAS-based Kerberos login on IBM Java</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2003">CALCITE-2003</a>]
+Remove global synchronization on <code
class="highlighter-rouge">openConnection</code></li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1922">CALCITE-1922</a>]
+Allow kerberos v5 OID in SPNEGO authentication</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1915">CALCITE-1915</a>]
+Work around a Jetty bug where the SPNEGO challenge is not sent</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1902">CALCITE-1902</a>]
+In <code class="highlighter-rouge">AvaticaResultSet</code> methods, throw
<code class="highlighter-rouge">SQLFeatureNotSupportedException</code> rather
+than <code class="highlighter-rouge">UnsupportedOperationException</code>
(Sergio Sainz)</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1487">CALCITE-1487</a>]
+Set the request as handled with authentication failures</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1904">CALCITE-1904</a>]
+Allow SSL hostname verification to be turned off</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1879">CALCITE-1879</a>]
+Log incoming protobuf requests at <code
class="highlighter-rouge">TRACE</code></li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1880">CALCITE-1880</a>]
+Regenerate protobuf files for 3.3.0</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1836">CALCITE-1836</a>]
+Upgrade to protobuf-java-3.3.0</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1195">CALCITE-1195</a>]
+Add a curl+jq example for interacting with Avatica</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1813">CALCITE-1813</a>]
+Use correct noop-driver artifactId</li>
+</ul>
+
+<p>Tests</p>
+
+<ul>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2145">CALCITE-2145</a>]
+<code
class="highlighter-rouge">RemoteDriverTest.testBatchInsertWithDates</code>
fails in certain time zones
+(Alessandro Solimando)</li>
+ <li>Fix tests on Windows; disable SPNEGO test on Windows</li>
+</ul>
+
+<p>Web site and documentation</p>
+
+<ul>
+ <li>Update description of the <code
class="highlighter-rouge">signature</code> field in <code
class="highlighter-rouge">ResultSetResponse</code></li>
+ <li>Correct field name in <code
class="highlighter-rouge">PrepareAndExecuteRequest</code> documentation
(Lukáš Lalinský)</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2083">CALCITE-2083</a>]
+Update documentation</li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-2036">CALCITE-2036</a>]
+Fix ânextâ link in <code class="highlighter-rouge">history.html</code></li>
+ <li>[<a
href="https://issues.apache.org/jira/browse/CALCITE-1878">CALCITE-1878</a>]
+Update the website for protobuf changes in 1.10.0</li>
+</ul>
+
<h2 id="v1-10-0"><a
href="https://github.com/apache/calcite-avatica/releases/tag/calcite-avatica-1.10.0">1.10.0</a>
/ 2017-05-30</h2>
<p>Apache Calcite Avatica 1.10.0 is the first release since
@@ -1210,7 +1289,7 @@ for information about previous Avatica r
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
Modified: calcite/site/avatica/docs/howto.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/docs/howto.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/docs/howto.html (original)
+++ calcite/site/avatica/docs/howto.html Fri Mar 9 09:04:47 2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>HOWTO</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -592,14 +592,14 @@
<h2 id="building-from-a-source-distribution">Building from a source
distribution</h2>
<p>Prerequisites are maven (3.2.1 or later)
-and Java (JDK 1.7 or later, 1.8 preferred) on your path.</p>
+and Java (JDK 8 or later) on your path.</p>
<p>Unpack the source distribution <code
class="highlighter-rouge">.tar.gz</code> or <code
class="highlighter-rouge">.zip</code> file,
<code class="highlighter-rouge">cd</code> to the root directory of the
unpacked source,
then build using maven:</p>
-<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>tar xvfz
apache-calcite-avatica-1.10.0-src.tar.gz
-<span class="gp">$ </span><span class="nb">cd
</span>apache-calcite-avatica-1.10.0-src
+<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="gp">$ </span>tar xvfz
apache-calcite-avatica-1.11.0-src.tar.gz
+<span class="gp">$ </span><span class="nb">cd
</span>apache-calcite-avatica-1.11.0-src
<span class="gp">$ </span>mvn install</code></pre></figure>
<p><a href="#running-tests">Running tests</a> describes how to run more or
fewer
@@ -608,7 +608,7 @@ tests.</p>
<h2 id="building-from-git">Building from git</h2>
<p>Prerequisites are git, maven (3.2.1 or later)
-and Java (JDK 1.7 or later, 1.8 preferred) on your path.</p>
+and Java (JDK 8 or later) on your path.</p>
<p>Create a local copy of the github repository,
<code class="highlighter-rouge">cd</code> to its root directory,
@@ -724,7 +724,7 @@ to guarantee that your credentials will
<ul>
<li>Set up signing keys as described above.</li>
- <li>Make sure you are using JDK 8 (not 7 or 9).</li>
+ <li>Make sure you are using JDK 8 (not 9 or 10).</li>
</ul>
<figure class="highlight"><pre><code class="language-bash"
data-lang="bash"><span class="c"># Make sure that there are no junk files in
the sandbox</span>
@@ -740,10 +740,14 @@ mvn -Papache-release clean install</code
<ul>
<li>Set up signing keys as described above.</li>
- <li>Make sure you are using JDK 8 (not 7 or 9).</li>
+ <li>Make sure you are using JDK 8 (not 9 or 10).</li>
<li>Check that <code class="highlighter-rouge">README</code>, <code
class="highlighter-rouge">site/_docs/howto.md</code>, <code
class="highlighter-rouge">site/_docs/docker_images.md</code>,
and <code
class="highlighter-rouge">docker/src/main/dockerhub/Dockerfile</code> have the
correct version number.</li>
+ <li>Check that <code class="highlighter-rouge">NOTICE</code> has the current
copyright year.</li>
<li>Set <code class="highlighter-rouge">version.major</code> and <code
class="highlighter-rouge">version.minor</code> in <code
class="highlighter-rouge">pom.xml</code>.</li>
+ <li>Add release notes to <code
class="highlighter-rouge">site/_docs/history.md</code>. Include the commit
history,
+and say which versions of Java, Guava and operating systems the release is
+tested against.</li>
<li>Make sure that
<a
href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20CALCITE%20AND%20status%20%3D%20Resolved%20and%20fixVersion%20is%20null">
every âresolvedâ JIRA case</a> (including duplicates) has
@@ -783,8 +787,8 @@ index 4617a4e..4ccd97f 100644
+++ b/docker/src/main/dockerhub/Dockerfile
@@ -23,3 +23,3 @@ RUN mkdir -p /home/avatica/classpath
# This line must be preserved. The Maven build will verify this version
matches its version
--ARG AVATICA_VERSION="1.10.0"
-+ARG AVATICA_VERSION="1.10.0-SNAPSHOT"
+-ARG AVATICA_VERSION="1.11.0"
++ARG AVATICA_VERSION="1.11.0-SNAPSHOT"
EOF
</span><span class="c"># Do a dry run of the release:prepare step, which sets
version numbers.</span>
@@ -794,16 +798,14 @@ mvn -DdryRun<span class="o">=</span><spa
<p>Check the artifacts:</p>
<ul>
- <li>In the <code class="highlighter-rouge">target</code> directory should be
these 8 files, among others:
+ <li>In the <code class="highlighter-rouge">target</code> directory should be
these 6 files, among others:
<ul>
<li>apache-calcite-avatica-X.Y.Z-src.tar.gz</li>
<li>apache-calcite-avatica-X.Y.Z-src.tar.gz.asc</li>
- <li>apache-calcite-avatica-X.Y.Z-src.tar.gz.md5</li>
- <li>apache-calcite-avatica-X.Y.Z-src.tar.gz.sha1</li>
+ <li>apache-calcite-avatica-X.Y.Z-src.tar.gz.sha256</li>
<li>apache-calcite-avatica-X.Y.Z-src.zip</li>
<li>apache-calcite-avatica-X.Y.Z-src.zip.asc</li>
- <li>apache-calcite-avatica-X.Y.Z-src.zip.md5</li>
- <li>apache-calcite-avatica-X.Y.Z-src.zip.sha1</li>
+ <li>apache-calcite-avatica-X.Y.Z-src.zip.sha256</li>
</ul>
</li>
<li>Note that the file names start <code
class="highlighter-rouge">apache-calcite-avatica-</code>.</li>
@@ -862,13 +864,6 @@ mkdir -p ~/dist/dev
svn co https://dist.apache.org/repos/dist/dev/calcite
<span class="nb">popd</span>
-<span class="c"># Replace digest files with a single digest</span>
-<span class="nb">cd </span>target
-<span class="k">for </span>f <span class="k">in</span> <span
class="k">*</span>.tar.gz <span class="k">*</span>.zip; <span class="k">do
- </span>rm <span class="k">${</span><span class="nv">f</span><span
class="k">}</span>.md5 <span class="k">${</span><span class="nv">f</span><span
class="k">}</span>.sha1
- gpg --print-mds <span class="k">${</span><span class="nv">f</span><span
class="k">}</span> > <span class="k">${</span><span class="nv">f</span><span
class="k">}</span>.mds
-<span class="k">done</span>
-
<span class="c"># Move the files into a directory</span>
<span class="nb">cd </span>target
mkdir ~/dist/dev/calcite/apache-calcite-avatica-X.Y.Z-rcN
@@ -905,33 +900,23 @@ gpg --recv-keys key
<span class="c"># Check keys</span>
curl -O https://dist.apache.org/repos/dist/release/calcite/KEYS
-<span class="c"># Sign/check md5 and sha1 hashes</span>
-<span class="c"># (Assumes your O/S has 'md5' and 'sha1' commands.)</span>
+<span class="c"># Sign/check sha256 hashes</span>
+<span class="c"># (Assumes your O/S has a 'shasum' command.)</span>
<span class="k">function </span>checkHash<span class="o">()</span> <span
class="o">{</span>
<span class="nb">cd</span> <span class="s2">"</span><span
class="nv">$1</span><span class="s2">"</span>
<span class="k">for </span>i <span class="k">in</span> <span
class="k">*</span>.<span class="o">{</span>zip,pom,gz<span class="o">}</span>;
<span class="k">do
if</span> <span class="o">[</span> ! -f <span class="nv">$i</span> <span
class="o">]</span>; <span class="k">then
continue
fi
- if</span> <span class="o">[</span> -f <span class="nv">$i</span>.md5 <span
class="o">]</span>; <span class="k">then
- if</span> <span class="o">[</span> <span class="s2">"</span><span
class="k">$(</span>cat <span class="nv">$i</span>.md5<span
class="k">)</span><span class="s2">"</span> <span class="o">=</span> <span
class="s2">"</span><span class="k">$(</span>md5 -q <span
class="nv">$i</span><span class="k">)</span><span class="s2">"</span> <span
class="o">]</span>; <span class="k">then
- </span><span class="nb">echo</span> <span class="nv">$i</span>.md5
present and correct
- <span class="k">else
- </span><span class="nb">echo</span> <span class="nv">$i</span>.md5
does not match
- <span class="k">fi
- else
- </span>md5 -q <span class="nv">$i</span> > <span
class="nv">$i</span>.md5
- <span class="nb">echo</span> <span class="nv">$i</span>.md5 created
- <span class="k">fi
- if</span> <span class="o">[</span> -f <span class="nv">$i</span>.sha1
<span class="o">]</span>; <span class="k">then
- if</span> <span class="o">[</span> <span class="s2">"</span><span
class="k">$(</span>cat <span class="nv">$i</span>.sha1<span
class="k">)</span><span class="s2">"</span> <span class="o">=</span> <span
class="s2">"</span><span class="k">$(</span>sha1 -q <span
class="nv">$i</span><span class="k">)</span><span class="s2">"</span> <span
class="o">]</span>; <span class="k">then
- </span><span class="nb">echo</span> <span class="nv">$i</span>.sha1
present and correct
+ if</span> <span class="o">[</span> -f <span class="nv">$i</span>.sha256
<span class="o">]</span>; <span class="k">then
+ if</span> <span class="o">[</span> <span class="s2">"</span><span
class="k">$(</span>cat <span class="nv">$i</span>.sha256<span
class="k">)</span><span class="s2">"</span> <span class="o">=</span> <span
class="s2">"</span><span class="k">$(</span>shasum -a 256 <span
class="nv">$i</span><span class="k">)</span><span class="s2">"</span> <span
class="o">]</span>; <span class="k">then
+ </span><span class="nb">echo</span> <span class="nv">$i</span>.sha256
present and correct
<span class="k">else
- </span><span class="nb">echo</span> <span class="nv">$i</span>.sha1
does not match
+ </span><span class="nb">echo</span> <span class="nv">$i</span>.sha256
does not match
<span class="k">fi
else
- </span>sha1 -q <span class="nv">$i</span> > <span
class="nv">$i</span>.sha1
- <span class="nb">echo</span> <span class="nv">$i</span>.sha1 created
+ </span>shasum -a 256 <span class="nv">$i</span> > <span
class="nv">$i</span>.sha256
+ <span class="nb">echo</span> <span class="nv">$i</span>.sha256 created
<span class="k">fi
done</span>
<span class="o">}</span>
@@ -961,10 +946,8 @@ The artifacts to be voted on are located
https://dist.apache.org/repos/dist/dev/calcite/apache-calcite-avatica-X.Y.Z-rcN/
The hashes of the artifacts are as follows:
-src.tar.gz.md5 XXXX
-src.tar.gz.sha1 XXXX
-src.zip.md5 XXXX
-src.zip.sha1 XXXX
+src.tar.gz.sha256 XXXX
+src.zip.sha256 XXXX
A staged Maven repository is available for review at:
https://repository.apache.org/content/repositories/orgapachecalcite-NNNN
@@ -1019,8 +1002,8 @@ Julian</code></pre></figure>
<p>Use the <a href="http://s.apache.org">Apache URL shortener</a> to generate
shortened URLs for the vote proposal and result emails. Examples:
-<a
href="http://s.apache.org/avatica-1.2-vote">s.apache.org/calcite-1.2-vote</a>
and
-<a
href="http://s.apache.org/avatica-1.2-result">s.apache.org/calcite-1.2-result</a>.</p>
+<a
href="http://s.apache.org/calcite-1.2-vote">s.apache.org/calcite-1.2-vote</a>
and
+<a
href="http://s.apache.org/calcite-1.2-result">s.apache.org/calcite-1.2-result</a>.</p>
<h2 id="publishing-a-release-for-calcite-committers">Publishing a release (for
Calcite committers)</h2>
@@ -1335,7 +1318,7 @@ as a template. Be sure to include a brie
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
Modified: calcite/site/avatica/docs/index.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/docs/index.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/docs/index.html (original)
+++ calcite/site/avatica/docs/index.html Fri Mar 9 09:04:47 2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>Background</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -570,7 +570,7 @@ and an RPC wire protocol.</p>
<p>Avaticaâs Java binding has very few dependencies.
Even though it is part of Apache Calcite it does not depend on other parts of
-Calcite. It depends only on JDK 1.7+ and Jackson.</p>
+Calcite. It depends only on JDK 8+ and Jackson.</p>
<p>Avaticaâs wire protocols are JSON or Protocol Buffers over HTTP. The
Java implementation of the JSON protocol uses
@@ -629,7 +629,7 @@ For example, user can set <code class="h
<figure class="highlight"><pre><code class="language-java"
data-lang="java"><span class="n">HttpServer</span> <span
class="n">server</span> <span class="o">=</span> <span class="k">new</span>
<span class="n">HttpServer</span><span class="o">(</span><span
class="n">handler</span><span class="o">)</span> <span class="o">{</span>
<span class="nd">@Override</span>
- <span class="kd">protected</span> <span class="n">ServerConnector</span>
<span class="n">configureConnector</span><span class="o">(</span>
+ <span class="kd">protected</span> <span class="n">ServerConnector</span>
<span class="nf">configureConnector</span><span class="o">(</span>
<span class="n">ServerConnector</span> <span
class="n">connector</span><span class="o">,</span> <span class="kt">int</span>
<span class="n">port</span><span class="o">)</span> <span class="o">{</span>
<span class="n">HttpConnectionFactory</span> <span
class="n">factory</span> <span class="o">=</span> <span class="o">(</span><span
class="n">HttpConnectionFactory</span><span class="o">)</span>
<span class="n">connector</span><span class="o">.</span><span
class="na">getDefaultConnectionFactory</span><span class="o">();</span>
@@ -643,9 +643,9 @@ For example, user can set <code class="h
<p>We know that it is important that client libraries have minimal
dependencies.</p>
-<p>Avatica is currently part of Apache Calcite.
-It does not depend upon any other part of Calcite.
-At some point Avatica could become a separate project.</p>
+<p>Avatica is a sub-project of <a href="https://calcite.apache.org">Apache
Calcite</a>,
+maintained in a separate repository.
+It does not depend upon any other part of Calcite.</p>
<p>Packages:</p>
@@ -712,13 +712,13 @@ highly welcomed!</p>
<li><em>Maintainer</em>: Microsoft Azure</li>
</ul>
-<h3 id="boostport">Boostport</h3>
+<h3 id="apache-phoenixavatica-sql-driver">Apache Phoenix/Avatica SQL
Driver</h3>
<ul>
- <li><a href="https://github.com/Boostport/avatica">Home page</a></li>
+ <li><a href="https://github.com/apache/calcite-avatica-go">Home page</a></li>
<li><em>Language</em>: Go</li>
<li><em>License</em>: <a
href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a></li>
<li>Avatica version 1.8.0 onwards</li>
- <li><em>Maintainer</em>: Boostport</li>
+ <li><em>Maintainer</em>: Boostport and the Apache Calcite community</li>
</ul>
<h3 id="avatica-thin-client">Avatica thin client</h3>
@@ -953,7 +953,7 @@ highly welcomed!</p>
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">
Modified: calcite/site/avatica/docs/json_reference.html
URL:
http://svn.apache.org/viewvc/calcite/site/avatica/docs/json_reference.html?rev=1826304&r1=1826303&r2=1826304&view=diff
==============================================================================
--- calcite/site/avatica/docs/json_reference.html (original)
+++ calcite/site/avatica/docs/json_reference.html Fri Mar 9 09:04:47 2018
@@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>JSON Reference</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="generator" content="Jekyll v3.0.3">
+ <meta name="generator" content="Jekyll v3.5.1">
<link rel="stylesheet"
href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="/avatica/css/screen.css">
<link rel="icon" type="image/x-icon" href="/avatica/favicon.ico">
@@ -1946,7 +1946,7 @@ for more information on valid attributes
<img src="/avatica/img/feather.png" width="190" height="77" alt="Apache
Logo"></a>
</div>
<div id="copyright">
- <p>The contents of this website are © 2017
+ <p>The contents of this website are © 2018
<a href="https://www.apache.org/">Apache Software Foundation</a>
under the terms of
the <a href="https://www.apache.org/licenses/LICENSE-2.0.html">