liquibase / liquibase-cassandra

Liquibase extension for Cassandra Support
Apache License 2.0
47 stars 34 forks source link

tagging doesn't work #66

Open fenom opened 3 years ago

fenom commented 3 years ago

Caused by: com.simba.cassandra.support.exceptions.GeneralException: [Simba][CassandraJDBCDriver](500211) ERROR Invalid query: UPDATE test01.DATABASECHANGELOG SET TAG = 'tag01' WHERE DATEEXECUTED = (SELECT MAX(DATEEXECUTED) FROM test01.DATABASECHANGELOG), Cause: com.simba.cassandra.shaded.datastax.driver.core.exceptions.SyntaxError: line 1:91 no viable alternative at input 'SELECT' (...= 'tag01' WHERE DATEEXECUTED = [(]SELECT...).

Can we add support for tagging?

┆Issue is synchronized with this Jira Bug by Unito

r2-lf commented 3 years ago

Absolutely!

DonPex commented 2 years ago

Is there any update about tagging? I have obtained the same error described by fenom using the maven goal tag (using Liquibase 4.4.3). How can I perform a rollback without tagging with the Community edition?

Update: solved using \<tagDatabase> in a changeset.