liquibase/liquibase-cassandra

Liquibase adds a TIMESTAMP value when using the CDATA driver

Tylorjg opened this issue · 0 comments

When using the CDATA driver with Liquibase v4.23, it results in a TIMESTAMP word appearing in the query when trying to lock the database.

For example

UPDATE [<keyspace_name>].[DATABASECHANGELOGLOCK] SET [LOCKED] = TRUE, [LOCKEDBY] = '<host>', [LOCKGRANTED] = TIMESTAMP '<time>' WHERE [DATABASECHANGELOGLOCK]

Whereas it should appear as

UPDATE [<keyspace_name>].[DATABASECHANGELOGLOCK] SET [LOCKED] = TRUE, [LOCKEDBY] = '<host>', [LOCKGRANTED] = '<time>' WHERE [DATABASECHANGELOGLOCK]

It is specific to when using the CDATA driver.