amogh-jahagirdar commented on code in PR #11180:
URL: https://github.com/apache/iceberg/pull/11180#discussion_r1811770900


##########
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:
   Seems like we're not using this result anywhere at the moment to populate 
the top level list? unless i'm missing something



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

Reply via email to