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

Head commit for run:
2db9cc848f915e0a6b1ccfa84d6cebe31e7a5bd8 / 付典 <[email protected]>
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: 付典 <[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to