George Hilios created BEAM-5222:
-----------------------------------

             Summary: Parquet IO position invalid when writing integers
                 Key: BEAM-5222
                 URL: https://issues.apache.org/jira/browse/BEAM-5222
             Project: Beam
          Issue Type: Bug
          Components: io-java-parquet
            Reporter: George Hilios
            Assignee: Lukasz Gajowy


Please see 
[https://github.com/apache/beam/blob/master/sdks/java/io/parquet/src/main/java/org/apache/beam/sdk/io/parquet/ParquetIO.java#L345]

On write(int b), position is incremented by 1. On write(byte[] b, int off, int 
len) position is incremented by the length of the byte array.

write(int b) should increment by 4 bytes, if I'm understanding correctly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to