BILLYisavailable opened a new pull request, #11641:
URL: https://github.com/apache/rocketmq/pull/11641

   ### Which Issue(s) This PR Fixes
   
   - Fixes #10862
   
   ### Brief Description
   
   `a = 0.0` fails during SQL filter parsing because `Double.MIN_VALUE` is a 
positive number. Use `-Double.MAX_VALUE` as the finite lower bound. The 
production change is limited to the bound and its error message.
   
   This follows up on the closed, unmerged #10867 and #11034. The issue is 
still reproducible on `develop` at `19352a246`.
   
   ### How Did You Test This Change?
   
   - Before the fix, the parser regression fails with `0.0 is less than 
4.9E-324`.
   - Added coverage for decimal/scientific zero, signed zero with matching 
property values, finite bounds, and overflow in both directions.
   - All 113 filter-module tests pass on JDK 17 / Maven 3.9.11. Checkstyle and 
SpotBugs checks pass in the same reactor build.
   
   ```sh
   mvn -pl filter -am \
     
-Dtest=BitsArrayTest,BloomFilterTest,ExpressionTest,FilterSpiTest,ParserTest \
     -Dsurefire.failIfNoSpecifiedTests=false test
   ```
   


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

  • [PR] [ISSUE #10862] Fix zero fl... BILLYisavailable (via GitHub) via commits

Reply via email to