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

Head commit for run:
b1b6749b5318f2facacb6424259dd222853853c9 / 付典 <[email protected]>
Refine BINARY operator handling in sharding compare condition value generator

For predicates such as BINARY col = val or col = BINARY val, the column
or value side is wrapped in a BINARY UnaryOperationExpression. The
compare condition value generator chose the value side by testing
instanceof ColumnSegment, so a BINARY-wrapped column made it pick the
wrong side and extract no value, dropping the sharding condition and
causing a full-route broadcast. Strip a leading BINARY unary from both
sides before selecting the value side so the condition routes to a
single shard. Only BINARY is unwrapped (not -/+/~) to keep routing of
signed values unchanged.

#35623

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

With regards,
GitHub Actions via GitBox

Reply via email to