chiragkava commented on code in PR #17742:
URL: https://github.com/apache/iceberg/pull/17742#discussion_r3827536243


##########
arrow/src/main/java/org/apache/iceberg/arrow/vectorized/ArrowBatchReader.java:
##########
@@ -41,7 +47,11 @@ public final ColumnarBatch read(ColumnarBatch reuse, int 
numRowsToRead) {
       closeVectors();
     }
 
-    ColumnVector[] columnVectors = new ColumnVector[readers.length];
+    // release the decoded vectors the previous batch materialized, safe with 
reused containers

Review Comment:
   Good point, reworded the comment



-- 
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