LakshSingla commented on code in PR #14780:
URL: https://github.com/apache/druid/pull/14780#discussion_r1303501229
##########
extensions-core/multi-stage-query/src/main/java/org/apache/druid/msq/exec/ControllerImpl.java:
##########
@@ -412,9 +414,15 @@ public TaskStatus runTask(final Closer closer)
final String selfHost = MSQTasks.getHostFromSelfNode(selfDruidNode);
final MSQErrorReport controllerError =
exceptionEncountered != null
- ? MSQErrorReport.fromException(id(), selfHost, null,
exceptionEncountered)
+ ? MSQErrorReport.fromException(
+ id(),
+ selfHost,
+ null,
+ exceptionEncountered,
+ task.getQuerySpec().getColumnMappings()
+ )
: null;
- final MSQErrorReport workerError = workerErrorRef.get();
+ MSQErrorReport workerError =
mapQueryColumnNameToOutputColumnName(workerErrorRef.get());
Review Comment:
Makes much more sense, incorporated the feedback in my latest commit.
--
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]