You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2021/09/10 19:49:00 UTC

[jira] [Commented] (CALCITE-4768) Upgrade Cassandra driver to latest 4.x

    [ https://issues.apache.org/jira/browse/CALCITE-4768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413360#comment-17413360 ] 

Julian Hyde commented on CALCITE-4768:
--------------------------------------

I'd prefer to use the Apache Cassandra driver unless there is a compelling reason to use the DataStax driver. (If the DataStax driver is a drop-in replacement for the Apache driver, you should say that, and people can make the choice for themselves.)

What Java versions does the upgraded driver support? Calcite supports JDK 8 and higher, and I don't want to limit our users options unnecessarily.

Otherwise, sounds good. A PR would be welcome. 

I removed '1.28.0' from the 'affects version' field because 1.28 is not yet released.

> Upgrade Cassandra driver to latest 4.x
> --------------------------------------
>
>                 Key: CALCITE-4768
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4768
>             Project: Calcite
>          Issue Type: Improvement
>          Components: cassandra-adapter
>    Affects Versions: 1.27.0
>            Reporter: Madhavan
>            Priority: Critical
>
> The Cassandra driver in Calcite uses the very old & outdated [3.6.0 driver|https://github.com/apache/calcite/blob/calcite-1.27.0/gradle.properties#L82]. The latest driver at the time of this writing is [4.13.0|https://docs.datastax.com/en/developer/java-driver/4.13/changelog/#changelog], also checkout the [upgrade guide from 3.x to 4.x|https://docs.datastax.com/en/developer/java-driver/4.11/upgrade_guide/].
> Upgrading the driver will enable Calcite [& other projects that uses Calcite like Drill, etc.,] users to interact with any Cassandra cluster of version 1.x, 2.x, 3.x, 4.x or even the [DBaaS versions using Secure Connect Bundle (SCB)|https://docs.datastax.com/en/astra/docs/connecting-to-your-database-with-the-datastax-java-driver.html] and leverage the fixes, feature and improvements done all only in the Unified Drivers moving forward.
> Related News:
>  * [Introducing DataStax Java Driver 4|https://www.datastax.com/blog/introducing-java-driver-4]
> * [Better drivers for Cassandra|https://www.datastax.com/blog/better-drivers-for-cassandra]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)