rdblue commented on code in PR #5077:
URL: https://github.com/apache/iceberg/pull/5077#discussion_r900539284


##########
core/src/main/java/org/apache/iceberg/BaseFileScanTask.java:
##########
@@ -217,6 +218,18 @@ public Iterable<FileScanTask> split(long splitSize) {
       throw new UnsupportedOperationException("Cannot split a task which is 
already split");
     }
 
+    @Override
+    public boolean isAdjacent(FileScanTask other) {
+      return file().equals(other.file()) && offset + len == other.start();

Review Comment:
   I think this is correct.



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