rdblue commented on code in PR #15461:
URL: https://github.com/apache/iceberg/pull/15461#discussion_r2893113672
##########
api/src/main/java/org/apache/iceberg/ScanTaskGroup.java:
##########
@@ -60,4 +61,13 @@ default long estimatedRowsCount() {
default int filesCount() {
return tasks().stream().mapToInt(ScanTask::filesCount).sum();
}
+
+ /**
+ * The {@link FileIO} instance to use when reading data
+ *
+ * @return the {@link FileIO} instance to use when reading data
+ */
+ default FileIO io() {
Review Comment:
Why is this on a task group? I think all tasks should use the FileIO from
the scan, right?
--
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]