Guosmilesmile commented on code in PR #13024:
URL: https://github.com/apache/iceberg/pull/13024#discussion_r2084765234


##########
flink/v1.19/flink/src/main/java/org/apache/iceberg/flink/maintenance/api/TableMaintenance.java:
##########
@@ -302,7 +302,10 @@ private DataStream<TableChange> changeStream(String 
tableName, TableLoader loade
 
     private static String nameFor(MaintenanceTaskBuilder<?> streamBuilder, int 
taskIndex) {
       return String.format(
-          Locale.ROOT, "%s [%d]", streamBuilder.getClass().getSimpleName(), 
taskIndex);
+          Locale.ROOT,
+          "%s [%d]",
+          streamBuilder.getClass().getEnclosingClass().getSimpleName(),

Review Comment:
   Thanks for pointing that out. I have added a new method to return the actual 
task name. Since the changes involve multiple files, I have limited the 
modifications to only one Flink version for easier review.



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