Guosmilesmile opened a new pull request, #13024: URL: https://github.com/apache/iceberg/pull/13024
Because the concrete implementations of `streamBuilder` are all inner classes, such as `ExpireSnapshots.Builder` and `RewriteDataFiles.Builder`, `streamBuilder.getClass().getSimpleName()` only shows `Builder` as the task name. In the metrics, it will appear as: `Lock_remover.maintenance.tableName.catalogname_db_mytable.taskName.Builder_[0].taskIndex.0.lastRunDurationMs` If `ExpireSnapshots` and `RewriteDataFiles` are both added in `TableMaintenance`, `Builder_[0]` and `Builder_[1]` make it difficult to distinguish the specific tasks. This PR aims to change the display of the task name to the specific task name, for example: `Lock_remover.maintenance.tableName.catalogname_db_mytable.taskName.RewriteDataFiles_[0].taskIndex.0.lastRunDurationMs` Since this is a minor change, this PR includes all Flink 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: 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