Skip to content
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

TRUNCATE operation fails against Azure CosmosDB Cassandra API and AWS Keyspaces for Apache Cassandra #128

Open
DanZDatical opened this issue Mar 3, 2022 · 0 comments

Comments

@DanZDatical
Copy link

Both services claim 'wire compatibility' with Cassandra, but their emulations do not support a number of commands, objects, etc.

For this extension, the immediate problem is clearing DATABASECHANGELOGLOCK, which relies on a TRUNCATE operation. This is not supported by either emulator. Therefore, while connecting is possible, no operations work.

The likely related code is: I believe the relevant code is here https://github.com/liquibase/liquibase-cassandra/blob/main/src/main/java/liquibase/ext/cassandra/sqlgenerator/DeleteGeneratorCassandra.java

What is less clear is that if the workarounds required to accommodate this - and the other limitations of those emulators as of this writing - would impact native Cassandra compatibility enough to necessitate a fork of this extension codebase rather than modification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant