mkleen commented on issue #26115:
URL: https://github.com/apache/datafusion/issues/26115#issuecomment-7239726260

   @jayzhan211 maybe you can give me some early feedback on this:
   
   Here is my plan for this ticket:
   
   Fuzz test first. I would extend the float_zero fuzz suite (#27618) for the 
following cases:
   
   - flat float keys followed by another key, for all float types.
   - struct keys.
   - inner, left, full, semi and anti joins on list keys.
   
   I would also add list keys with -0.0 to the piecewise merge join fuzz test 
in join_fuzz.rs, ignored until it's fixed.  This goes separate.
   
   Then the fix, following #26138. Joins already compare keys through 
float_semantics::normalize, but the sort path doesn't use it, so -0.0 still 
sorts before 0.0. I would probably add float_semantics::normalize to SortExec, 
and before the internal sort in piecewise merge join. Then sorting and 
comparing see the same values, which fixes both joins without changing the 
plan. 
   
   Does this make sense to you?


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