rdblue commented on code in PR #2276: URL: https://github.com/apache/iceberg/pull/2276#discussion_r1014528415
########## core/src/main/java/org/apache/iceberg/util/TableScanUtil.java: ########## @@ -71,6 +78,57 @@ public static CloseableIterable<FileScanTask> splitFiles( return CloseableIterable.combine(splitTasks, tasks); } + public static <T extends FileScanTask> Iterable<CombinedScanTask> planTasks( Review Comment: I like the `PartitionScanTask` idea, although I think we would want to consider not returning a `spec` and use a struct type instead, since the partition info may be a subset of partition fields if we can combine across them. -- 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...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org