spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Munday (Jira)" <j...@apache.org>
Subject [jira] [Created] (SPARK-32458) Mismatched row access sizes in tests
Date Mon, 27 Jul 2020 10:19:00 GMT
Michael Munday created SPARK-32458:
--------------------------------------

             Summary: Mismatched row access sizes in tests
                 Key: SPARK-32458
                 URL: https://issues.apache.org/jira/browse/SPARK-32458
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Michael Munday


The RowEncoderSuite and UnsafeMapSuite tests fail on big-endian systems. This is because the
test data is written into the row using unsafe operations with one size and then read back
using a different size. For example, in UnsafeMapSuite the test data is written using putLong
and then read back using getInt. This happens to work on little-endian systems but these differences
appear to be typos and causes the tests to fail on big-endian systems.

I have a patch that fixes the issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message