spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huangtianhua (JIRA)" <>
Subject [jira] [Created] (SPARK-28433) Incorrect assertion in scala test for aarch64 platform
Date Thu, 18 Jul 2019 03:39:00 GMT
huangtianhua created SPARK-28433:

             Summary: Incorrect assertion in scala test for aarch64 platform
                 Key: SPARK-28433
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 2.4.3, 3.0.0
            Reporter: huangtianhua

We ran unit tests of spark on aarch64 server, here are two sql scala tests failed: 
- SPARK-26021: NaN and -0.0 in grouping expressions *** FAILED ***
   2143289344 equaled 2143289344 (DataFrameAggregateSuite.scala:732)
 - NaN and -0.0 in window partition keys *** FAILED ***
   2143289344 equaled 2143289344 (DataFrameWindowFunctionsSuite.scala:704)

we found the values of floatToRawIntBits(0.0f / 0.0f) and floatToRawIntBits(Float.NaN) on
aarch64 are same(2143289344),  first we thought it's something about jdk or scala, but after
discuss with jdk-dev and scala community see
, we believe the value depends on the architecture.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message