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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to