YongGang commented on code in PR #16041:
URL: https://github.com/apache/druid/pull/16041#discussion_r1539636313


##########
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:
   > Since the tags would be in the context, and the report already has the 
task context so I think no change should be required here no ?
   
   I think you mean `task query context` field, it's different from 
`Task.context` which all task types can have on the top level.



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

Reply via email to