huaxingao commented on code in PR #13868:
URL: https://github.com/apache/iceberg/pull/13868#discussion_r2288800149
##########
spark/v3.4/spark/src/main/java/org/apache/iceberg/spark/actions/RewriteDataFilesSparkAction.java:
##########
@@ -101,6 +102,10 @@ public class RewriteDataFilesSparkAction
super(spark.cloneSession());
// Disable Adaptive Query Execution as this may change the output
partitioning of our write
spark().conf().set(SQLConf.ADAPTIVE_EXECUTION_ENABLED().key(), false);
+ // Disable executor cache for delete files as each partition is rewritten
separately.
+ // Note: when compacting to a different target spec, data from multiple
partitions
+ // may be grouped together, but caching is still disabled to avoid
connection pool issues.
Review Comment:
@anuragmantri let's fix the comment in 4.0 too? It's better to keep the
comments consistent across versions.
--
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]