yuluo-yx opened a new pull request, #10867:
URL: https://github.com/apache/rocketmq/pull/10867

   ### Which Issue(s) This PR Fixes
   
   - Fixes #10862
   
   ### Brief Description
   
   `ConstantExpression.createFloat` used `Double.MIN_VALUE`, the smallest 
positive value, as a lower bound and therefore rejected `0.0`. This change uses 
`-Double.MAX_VALUE` as the finite lower bound.
   
   A selector regression test verifies that `a = 0.0` parses and evaluates 
successfully.
   
   ### How Did You Test This Change?
   
   - `mise exec [email protected]+10 -- mvn -pl filter -am -DskipITs 
-Dtest=ExpressionTest -Dsurefire.failIfNoSpecifiedTests=false test`
   - Result: `BUILD SUCCESS`; 62 tests, 0 failures, 0 errors, 0 skipped.
   - Scope check: 2 files, 15 changed lines.


-- 
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]

Reply via email to