[ ] The commit(s) message(s) follows the contribution guidelines ?
[ ] Tests for the changes have been added (for bug fixes / features) ?
[ ] Docs have been added / updated (for bug fixes / features) ?
**Current behavior :
For queries such as 1 - sum(foo), when local shards are unhealthy, the HighAvailabilityPlanner will create a remote plan 1 - sum(foo) that runs in its healthy buddy cluster. This, however, cause that the query behaves equivalent to 1 - Remote(1 - sum(foo)).
New behavior :
The same query will be materialized something like1 - Remote(sum(foo)) to produce the correct result.
BREAKING CHANGES
If this PR contains a breaking change, please describe the impact and migration
path for existing applications.
If not please remove this section.
Breaking changes may include:
Any schema changes to any Cassandra tables
The serialized format for Dataset and Column (see .toString methods)
Over the wire formats for Akka messages / case classes
Pull Request checklist
**Current behavior : For queries such as
1 - sum(foo)
, when local shards are unhealthy, theHighAvailabilityPlanner
will create a remote plan1 - sum(foo)
that runs in its healthy buddy cluster. This, however, cause that the query behaves equivalent to1 - Remote(1 - sum(foo))
.New behavior : The same query will be materialized something like
1 - Remote(sum(foo))
to produce the correct result.BREAKING CHANGES
If this PR contains a breaking change, please describe the impact and migration path for existing applications. If not please remove this section.
Breaking changes may include:
Other information: