alexanderbianchi commented on code in PR #67:
URL: https://github.com/apache/datafusion-iceberg/pull/67#discussion_r4577168628
##########
crates/datafusion/src/read/scan.rs:
##########
@@ -70,6 +98,45 @@ impl IcebergDataSource {
}
}
+ /// Planned, ungrouped tasks, if file discovery was enabled for this scan.
+ /// A distributed consumer may assign these tasks to its own workers
instead
+ /// of using the local output partitions of this source.
+ pub fn planned_files(&self) -> Option<&PlannedFileScan> {
+ self.planned.as_ref().map(|planned| planned.files.as_ref())
+ }
+
Review Comment:
Done, as an iter.
--
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]