You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "George Hilios (JIRA)" <ji...@apache.org> on 2018/08/27 12:06:00 UTC

[jira] [Created] (BEAM-5222) Parquet IO position invalid when writing integers

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)