You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 21:54:53 UTC

[GitHub] [beam] kennknowles opened a new issue, #18980: Parquet IO position invalid when writing integers

kennknowles opened a new issue, #18980:
URL: https://github.com/apache/beam/issues/18980

   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](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.
   
   Imported from Jira [BEAM-5222](https://issues.apache.org/jira/browse/BEAM-5222). Original Jira may contain additional context.
   Reported by: ghilios.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org