pavibhai commented on code in PR #7197:
URL: https://github.com/apache/iceberg/pull/7197#discussion_r1152007471


##########
spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/data/vectorized/VectorizedSparkOrcReaders.java:
##########
@@ -209,7 +229,8 @@ private int numNullsHelper() {
     }
 
     protected int getRowIndex(int rowId) {
-      return vector.isRepeating ? 0 : rowId;
+      int row = isSelectedInUse ? selected[rowId] : rowId;

Review Comment:
   No, this is not a possibility. Similar to other vectors the selected vector 
is initialized at the start to max batch size and all of the indices in this 
are excepted to be within the batch size.



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