pvary commented on code in PR #13949:
URL: https://github.com/apache/iceberg/pull/13949#discussion_r2311780109
##########
arrow/src/main/java/org/apache/iceberg/arrow/vectorized/VectorizedArrowReader.java:
##########
@@ -132,20 +139,30 @@ protected Types.NestedField icebergField() {
@Override
public void setBatchSize(int batchSize) {
- this.batchSize = (batchSize == 0) ? DEFAULT_BATCH_SIZE : batchSize;
+ int newBatchSize = (batchSize == 0) ? DEFAULT_BATCH_SIZE : batchSize;
+ this.batchSize = newBatchSize;
this.vectorizedColumnIterator.setBatchSize(batchSize);
+ if (this.batchSize != newBatchSize) {
Review Comment:
How could this happen after line 143?
--
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]