singhpk234 commented on code in PR #15184:
URL: https://github.com/apache/iceberg/pull/15184#discussion_r2747109622
##########
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:
I agree, its better to just have a marker, to selectively disable
distributed planning
--
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]