liquibase/liquibase-cassandra

tagging doesn't work

fenom opened this issue · 2 comments

fenom commented

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

Absolutely!

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.