JingsongLi commented on code in PR #4992:
URL: https://github.com/apache/paimon/pull/4992#discussion_r1928155326


##########
paimon-common/src/main/java/org/apache/paimon/data/columnar/ColumnarRowIterator.java:
##########
@@ -89,9 +95,11 @@ public Path filePath() {
     }
 
     protected ColumnarRowIterator copy(ColumnVector[] vectors) {
+        // We should call copy only when the iterator is at the beginning of 
the file.
+        assert nextPos == 0;

Review Comment:
   Use `checkPrecondition`



-- 
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...@paimon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to