mgaido91 opened a new pull request, #54772:
URL: https://github.com/apache/spark/pull/54772

   
   ### What changes were proposed in this pull request?
   
   In the UTs, currently NaN comparisons can cause UT failures on the CI (which 
is also hardware dependent) as on some hardware NaN can be represented in 
different byte formats (see IEEE-754 that allows multiple bit patterns for 
NaN). This has caused spurious UT failures e.g. in 
https://github.com/apache/spark/pull/54676.
   
   ### Why are the changes needed?
   
   Fix NaN comparison so that we do not run into hardware-dependent UT failures 
and correctly passes when there are two NaNs.
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   
   ### How was this patch tested?
   
   Added UT.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.
   


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