Github user nongli commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12397#discussion_r59789608
  
    --- Diff: 
sql/core/src/main/java/org/apache/spark/sql/execution/datasources/parquet/VectorizedPlainValuesReader.java
 ---
    @@ -31,6 +33,8 @@
       private byte[] buffer;
       private int offset;
       private int bitOffset; // Only used for booleans.
    +  
    +  private final static boolean bigEndianPlatform = 
ByteOrder.nativeOrder().equals(ByteOrder.BIG_ENDIAN);
    --- End diff --
    
    I'm wondering if there is a difference between wrapping the buffer with a 
ByteBuffer once (in InitFromPage) and if that behaves any differently than 
reversing for each integer.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to