ConeyLiu commented on code in PR #8423:
URL: https://github.com/apache/iceberg/pull/8423#discussion_r1312615016
##########
spark/v3.4/spark/src/main/java/org/apache/iceberg/spark/JobGroupUtils.java:
##########
@@ -55,10 +61,10 @@ public static <T> T withJobGroupInfo(
SparkContext sparkContext, JobGroupInfo info, Supplier<T> supplier) {
JobGroupInfo previousInfo = getJobGroupInfo(sparkContext);
try {
- setJobGroupInfo(sparkContext, info);
+ setJobGroupInfo(sparkContext, info, false);
return supplier.get();
} finally {
- setJobGroupInfo(sparkContext, previousInfo);
+ setJobGroupInfo(sparkContext, previousInfo, true);
Review Comment:
why set overwrite to true here?
--
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]