rahil-c commented on code in PR #11180:
URL: https://github.com/apache/iceberg/pull/11180#discussion_r1821364081
##########
core/src/main/java/org/apache/iceberg/ScanTasksIterable.java:
##########
@@ -120,7 +146,21 @@ private void fetchScanTasks(String planTask) {
headers,
ErrorHandlers.defaultErrorHandler());
fileScanTasks.addAll(response.fileScanTasks());
- planTasks.addAll(response.planTasks());
+ // TODO need to confirm recursive call here
+ if (response.planTasks() != null) {
+ getScanTasksIterable(response.planTasks());
Review Comment:
Thanks for catching this, will fix this and adding a test to exercise this
code path
--
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]