pvary commented on code in PR #13108: URL: https://github.com/apache/iceberg/pull/13108#discussion_r2100556682
########## parquet/src/main/java/org/apache/iceberg/parquet/ParquetReader.java: ########## @@ -120,18 +125,27 @@ public boolean hasNext() { @Override public T next() { - if (valuesRead >= nextRowGroupStart) { - advance(); - } - - if (reuseContainers) { - this.last = model.read(last); - } else { - this.last = model.read(null); + try { + if (valuesRead >= nextRowGroupStart) { + advance(); + } + + if (reuseContainers) { + this.last = model.read(last); + } else { + this.last = model.read(null); + } + valuesRead += 1; Review Comment: nit: could we please add an extra line to conform the current coding guide? -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org