nastra commented on code in PR #15184:
URL: https://github.com/apache/iceberg/pull/15184#discussion_r2746361027


##########
core/src/main/java/org/apache/iceberg/BaseDistributedDataScan.java:
##########
@@ -144,6 +144,11 @@ protected PlanningMode deletePlanningMode() {
 
   @Override
   protected CloseableIterable<ScanTask> doPlanFiles() {
+    if (table() instanceof SupportsDistributedScanPlanning
+        && !((SupportsDistributedScanPlanning) 
table()).allowDistributedPlanning()) {
+      return table().newBatchScan().planFiles();

Review Comment:
   actually I don't think this is going to work like this, because the scan 
object here doesn't carry over any filter/projection/asOfTime/ref settings



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

Reply via email to