-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cassandra JDBC Driver is in lib folder despite of license restrictions #148
Comments
It looks like there is a hard dependency on Simba JDBC lib. Tried to use different JDBC driver and it failed. liquibase-cassandra/src/main/java/liquibase/ext/cassandra/database/CassandraDatabase.java Line 4 in 2472b9f
|
@kiranvaddadi @cziberez Did you ever find this out? I am facing the excact same problem. Now, it seems Datastax also has removed the JDBC driver from download. I tried using https://github.com/ing-bank/cassandra-jdbc-wrapper but the dependency for the simba-driver came up. |
@bjornph No. I have tried the ing-bank driver by overriding the service. But the wrapper is a partial impl of the JDBC spec and hence got into some other issues. End of the day, liquibase is for relational db (jdbc) and cassandra is not. |
@APIM-KiranVaddadi I tried the same thing with overriding the hard dependency and use ing jdbc wrapper, with the liquibase compliancemode. It runs, but fails a simple project with I see that Datagrip has a cassandra-jdbc-driver as well, but I have not tried it. Not sure on the details of the licensing on the attached driver to this repo that @cziberez mentions though. I would've guessed that with Cassandra being a popular DB, there would be multiple possibilities for schema change tools. |
Hello, As explained here: ing-bank/cassandra-jdbc-wrapper#25 (comment), a new version of Cassandra JDBC wrapper has been published fixing some issues preventing it to work correctly with Liquibase. To use it, some prerequisites must be met:
Regarding the Datagrip implementation, it's (at least for now) a partial implementation of the JDBC API (for example, most of the methods in the DatabaseMetaData implementation return null). I don't know the real impact on the operation of Liquibase but I know that methods such as |
Maybe this can be closed with the release of the version 4.25.0? I think all the issues are now solved. :) |
Hello,
I just saw this pull request recently #146 which added CassandraJDBC42.jar to your lib folder despite it has a license restriction which says:
So I would like to ask if this is completely okay? Is liquibase has the right to distribute this driver or is it just a misunderstanding and a wrong commit?
PS: I just found the original Documentation which says:
Thanks in advance.
The text was updated successfully, but these errors were encountered: