-
Notifications
You must be signed in to change notification settings - Fork 26
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Liquibase cassandra fails #36
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
Comments
@dinchand, good news for the fix 😄 Liquibase compliance mode is strongly recommended to avoid some unexpected behaviours happening in some scenarios (for example, creating a table and populating it immediately after will fail without the Liquibase compliance mode). Also, it seems you're trying to run classic Liquibase for SQL here because the query is not valid CQL ( An example of integration in a Spring application is available here: liquibase/liquibase-cassandra#212 (comment). Also, I already successfully ran the standard example provided in the Liquibase documentation as you could see in the issue #25. I hope a new version of Liquibase Cassandra will be released soon with this JDBC wrapper (since changes have been merged in their main branch few weeks ago: liquibase/liquibase-cassandra#205) |
@maximevw Again thanks for the clear explanations and pointers. I was indeed missing the Liquibase Cassandra as dependency. Also after you suggested I tried using the latest Liquibase Cassandra. And now I hit
Possibly because the the CassandraConnection is an implementation of java.sql.Connection but liquibase has its own interface. |
Hello @dinchand, Indeed, the latest version of Liquibase Cassandra (4.24.0) still relies on Simba JDBC driver, that's certainly why you got this cast exception. You currently have the following alternative:
|
As this is not an issue directly related to the JDBC wrapper for Cassandra, I'll transform into a discussion. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
@maximevw Firstly Thanks for the release 4.10.2 which fixed my previous issue.
However I now encounter a new one . When I run it I now get
I did read about the compliance mode and #25 . I am not sure if all liquibase users should use that compliance mode. I tried with that as well but no luck. Any pointers ?
The text was updated successfully, but these errors were encountered: