gengliangwang commented on code in PR #36604:
URL: https://github.com/apache/spark/pull/36604#discussion_r876618591


##########
core/src/main/scala/org/apache/spark/ErrorInfo.scala:
##########
@@ -82,11 +85,11 @@ private[spark] object SparkThrowableHelper {
       val subMessageParameters = messageParameters.tail
       "[" + errorClass + "." + subErrorClass + "] " + 
String.format((errorInfo.messageFormat +
         errorSubInfo.messageFormat).replaceAll("<[a-zA-Z0-9_-]+>", "%s"),
-        subMessageParameters: _*)
+        subMessageParameters: _*) + queryContext

Review Comment:
   I tried moving the "\n" out of the query context. It requires updates on the 
starting and ending position of "^^^^^^" too. I will do it in another PR to 
make this one clean.



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