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


##########
spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/actions/RewritePositionDeleteFilesSparkAction.java:
##########
@@ -215,7 +215,9 @@ private ExecutorService rewriteService() {
   }
 
   private RewritePositionDeletesCommitManager commitManager() {
-    return new RewritePositionDeletesCommitManager(table);
+    Map<String, String> summary = Maps.newHashMap();
+    summary.put("spark.app.id", spark().sparkContext().applicationId());

Review Comment:
   other idea: what about setting the app ID via `EnvironmentContext.set(..)` 
and then later just retrieving all properties via `EnvironmentContext.get()`?. 
This would also include the Iceberg and Spark version



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