YongGang commented on code in PR #16041:
URL: https://github.com/apache/druid/pull/16041#discussion_r1539575155
##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/exec/ControllerImpl.java:
##########
@@ -571,7 +572,11 @@ public TaskStatus runTask(final Closer closer)
);
context.writeReports(
id(),
- TaskReport.buildTaskReports(new MSQTaskReport(id(),
taskReportPayload))
+ TaskReport.buildTaskReports(new MSQTaskReport(
+ id(),
+ task.getContextValue(DruidMetrics.TAGS),
Review Comment:
The tags can contain some specific info about the task such as
`msq_async_download` can be a tag, it will be generated from code based on task
spec not provided by user through context.
Tags are also included in task report as external systems can read task
report and rely on the tags to know the purpose of the task and take actions
based on it.
--
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]