liquibase / liquibase-cassandra

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

Fix #289: Add alternative execution for counting queries in lock service #292

Closed maximevw closed 1 month ago

maximevw commented 1 month ago

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.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud