btlqql opened a new pull request, #10922: URL: https://github.com/apache/rocketmq/pull/10922
## What is the purpose of the change Fix #10877. ComparisonExpression handled a Boolean left operand and String right operand by casting the Boolean left value to String. With string-expression conversion enabled by the selector parser, this branch always threw ClassCastException because a Boolean cannot be cast to String. ## Brief changelog - ComparisonExpression.__compare: for a Boolean left operand against a String right operand, convert the right operand with Boolean.valueOf instead of casting the left Boolean to String ## How was this patch verified - Code review: mirrors the symmetric String-left / Boolean-right branch which uses Boolean.valueOf on the String operand - `git diff --check` clean -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
