srowen commented on issue #26654: [SPARK-30009][CORE][SQL] Support different 
floating-point Ordering for Scala 2.12 / 2.13
URL: https://github.com/apache/spark/pull/26654#issuecomment-559136457
 
 
   Yeah, that method does what TotalOrdering does. We could adopt it instead of 
using Scala 2.13 TotalOrdering; it won't matter.
   
   But the two sites that changed here used Scala 2.12's Ordering.Double, which 
does not work like that method. For the SorterSuite? won't matter. For 
numerics.scala, it could matter. 
   
   We can either leave this in place to maintain 2.12 behavior, or if we think 
that the current 2.12 behavior in numerics.scala is a bit wrong and 
inconsistent, we can instead standardize on the Utils method everywhere and 
remove the need for OrderingUtil. (There will be other reasons we need the 
parallel build tree though.)
   
   WDYT?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to