You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Lukasz Gajowy (Jira)" <ji...@apache.org> on 2019/12/19 15:22:00 UTC

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

     [ https://issues.apache.org/jira/browse/BEAM-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Gajowy reassigned BEAM-5222:
-----------------------------------

    Assignee:     (was: Lukasz Gajowy)

> 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
>            Priority: Minor
>
> 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
(v8.3.4#803005)