pvary commented on code in PR #9301:
URL: https://github.com/apache/iceberg/pull/9301#discussion_r1427582845


##########
orc/src/main/java/org/apache/iceberg/orc/OrcIterable.java:
##########
@@ -134,7 +134,13 @@ private static VectorizedRowBatchIterator newOrcIterator(
 
     try {
       return new VectorizedRowBatchIterator(
-          file.location(), readerSchema, orcFileReader.rows(options), 
recordsPerBatch);
+          file.location(), readerSchema, orcFileReader.rows(options), 
recordsPerBatch) {
+        @Override
+        public void close() throws IOException {

Review Comment:
   Any chance for a test?



##########
orc/src/main/java/org/apache/iceberg/orc/OrcIterable.java:
##########
@@ -134,7 +134,13 @@ private static VectorizedRowBatchIterator newOrcIterator(
 
     try {
       return new VectorizedRowBatchIterator(
-          file.location(), readerSchema, orcFileReader.rows(options), 
recordsPerBatch);
+          file.location(), readerSchema, orcFileReader.rows(options), 
recordsPerBatch) {
+        @Override
+        public void close() throws IOException {

Review Comment:
   Any chance for a test?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to