[
https://issues.apache.org/jira/browse/DRILL-4452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15170276#comment-15170276
]
ASF GitHub Bot commented on DRILL-4452:
---------------------------------------
GitHub user laurentgo opened a pull request:
https://github.com/apache/drill/pull/395
DRILL-4452: Uses Apache Calcite Avatica driver vs Optiq driver for Drill
JDBC
Drill JDBC driver uses Optiq Avatica as its basis, but this dependency has
been moved over to Calcite, for quite some time without Drill code being
updated for it.
This patch updates Avatica version to the version from Calcite
(1.4.0-drill-r10). It also refactors Drill JDBC driver to comply with the
packages and API changes in Avatica. Finally it fixes the the SQL types for
lists and structs, since Drill doesn't support java.sql.Array and
java.sql.Struct interfaces.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/laurentgo/drill
laurent/DRILL-4452-use-calcite-avatica
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/395.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #395
----
commit 5882507979cc9695261c975a6e77bcdafdf2ca3f
Author: Laurent Goujon <[email protected]>
Date: 2016-02-24T00:00:42Z
DRILL-4452: Uses Apache Calcite Avatica driver vs Optiq driver for Drill
JDBC
Drill JDBC driver uses Optiq Avatica as its basis, but this dependency has
been moved over to Calcite, for quite some time without Drill code being
updated for it.
This patch updates Avatica version to the version from Calcite
(1.4.0-drill-r10). It also refactors Drill JDBC driver to comply with the
packages and API changes in Avatica. Finally it fixes the the SQL types for
lists and structs, since Drill doesn't support java.sql.Array and
java.sql.Struct interfaces.
----
> Update avatica version for Drill jdbc
> -------------------------------------
>
> Key: DRILL-4452
> URL: https://issues.apache.org/jira/browse/DRILL-4452
> Project: Apache Drill
> Issue Type: Improvement
> Components: Client - JDBC
> Affects Versions: 1.5.0
> Reporter: Laurent Goujon
> Assignee: Laurent Goujon
> Priority: Minor
>
> Drill depends on a very old version of Avatica (0.9.0/pre-calcite), which
> makes integrating changes harder and harder.
> Although Avatica has evolved to support a custom protocol, with a server
> stub, I believe it is still possible for Drill to use the client part as the
> JDBC facade, with small adjustments.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)