ViktorBystrov72 opened a new pull request, #18980:
URL: https://github.com/apache/iceberg/pull/18980

   `FLOAT` binding folds comparisons against finite out-of-range `DOUBLE` 
literals to constants and treats double infinities as out of range. This can 
misclassify NaN, infinite, and null values. Keep ordering comparisons against 
the appropriate finite float endpoint, and preserve infinities when converting 
double literals to float.
   
   Fixes #18700.
   
   Test plan: compare FLOAT evaluation with equivalent DOUBLE evaluation for 
ordering, equality, and IN/NOT IN predicates, including finite limits, 
infinities, NaN, and null; verify literal conversion and binding shapes. All 9 
new regression cases fail before the fix. The API module check reports 1351 
tests, 1 skipped, and no failures/errors. Formatting, production/test 
Checkstyle, and module assembly pass.
   
   ---
   **AI Disclosure**
   - Model: GPT-6.
   - Platform/Tool: OpenAI Codex generated the implementation, regression 
tests, and this description.
   - Human Oversight: unreviewed.
   - Prompt Summary: fix the float literal and predicate binding problem 
reported in #18700 and validate the API module.
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to