You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2026/08/15 14:17:08 UTC

[GH] (shardingsphere/fix/binary-operator-sharding-condition): Workflow run "E2E - SQL" is working again!

The GitHub Actions job "E2E - SQL" on shardingsphere.git/fix/binary-operator-sharding-condition has succeeded.
Run started by GitHub user fudianchn (triggered by fudianchn).

Head commit for run:
2db9cc848f915e0a6b1ccfa84d6cebe31e7a5bd8 / 付典 <fu...@gmail.com>
Restrict BINARY unwrap to equality predicates in compare condition value generator

MySQL evaluates BINARY range comparisons byte-wise, while range routing prunes
partitions on converted endpoints, so unwrapping BINARY is semantics-preserving
only for equality predicates. Range predicates with BINARY operands now keep
the pre-existing broadcast routing.

- Gate unwrapBinaryOperator behind the equality operator
- Add generator tests asserting empty conditions for BINARY with >, >=, <, <=
  on both operand sides
- Add where-clause engine test asserting no sharding condition for a string
  sharding key with BINARY and a range operator
- Add route engine test asserting full-route broadcast without sharding
  conditions under a VOLUME_RANGE algorithm

Signed-off-by: 付典 <fu...@gmail.com>

Report URL: https://github.com/apache/shardingsphere/actions/runs/31888558791

With regards,
GitHub Actions via GitBox