parthchandra commented on code in PR #1032: URL: https://github.com/apache/parquet-mr/pull/1032#discussion_r1113658117
########## parquet-common/src/main/java/org/apache/parquet/bytes/CapacityByteArrayOutputStream.java: ########## @@ -164,6 +164,12 @@ public CapacityByteArrayOutputStream(int initialSlabSize, int maxCapacityHint, B private void addSlab(int minimumSize) { int nextSlabSize; + if (bytesUsed + minimumSize < 0) { Review Comment: Updated -- 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: dev-unsubscr...@parquet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org