As explained in the issue https://github.com/liquibase/liquibase-cassandra/issues/289, the aggregate functions are not supported by AWS Keyspaces.
This fix tries to execute counting queries and if it fails, the same query without the COUNT
function is executed and the returned rows are counted programmatically.
Also removes code specific to MSSQLDatabase in LockServiceCassandra obviously not related
with Liquibase implementation for Cassandra.
As explained in the issue https://github.com/liquibase/liquibase-cassandra/issues/289, the aggregate functions are not supported by AWS Keyspaces. This fix tries to execute counting queries and if it fails, the same query without the COUNT function is executed and the returned rows are counted programmatically.
Also removes code specific to
MSSQLDatabase
inLockServiceCassandra
obviously not related with Liquibase implementation for Cassandra.