nastra commented on code in PR #12079: URL: https://github.com/apache/iceberg/pull/12079#discussion_r1932375105
########## parquet/src/test/java/org/apache/iceberg/parquet/TestParquet.java: ########## @@ -219,6 +228,191 @@ public void testTwoLevelList() throws IOException { assertThat(recordRead.get("topbytes")).isEqualTo(expectedBinary); } + @Test + public void testStreamClosedProperly() throws IOException { + // test for input + { + class TestStreamClosedProperlyStream extends SeekableInputStream Review Comment: I would move the class definition out of the test method itself to improve readability -- 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