badalprasadsingh opened a new pull request, #1317:
URL: https://github.com/apache/iceberg-go/pull/1317

   ## Description 
   
   Fix a **bug** in `BoolLiteral.Comparator()` where comparing two `false` 
values returned `-1` instead of `0`.
   
   The previous implementation returned `-1` whenever `v1` was `false`, 
regardless of the value of `v2`, causing the comparator to report: `false < 
false`.
   
   Fixes #1316 
   
   ## Testing
   
   Added a regression test covering all boolean comparison combinations:
   - `(false, false)` → `0`
   - `(true, true)` → `0`
   - `(false, true)` → `-1`
   - `(true, false)` → `1`


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