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


##########
spark/v4.0/spark/src/main/java/org/apache/iceberg/spark/SparkReadConf.java:
##########
@@ -291,8 +292,15 @@ public int parallelism() {
     return Math.max(defaultParallelism, numShufflePartitions);
   }
 
+  public boolean distributedPlanningDisallowed() {
+    return table instanceof SupportsDistributedScanPlanning distributed
+        && !distributed.allowDistributedPlanning();
+  }

Review Comment:
   I've simplified this so that we actually don't have this contradiction 
anymore



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