cloud-fan commented on code in PR #38302:
URL: https://github.com/apache/spark/pull/38302#discussion_r1002950733
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/SQLExecution.scala:
##########
@@ -115,7 +115,8 @@ object SQLExecution {
throw e
} finally {
val endTime = System.nanoTime()
- val event = SparkListenerSQLExecutionEnd(executionId,
System.currentTimeMillis())
+ val event = SparkListenerSQLExecutionEnd(
+ executionId, System.currentTimeMillis(), ex.map(_.getMessage))
Review Comment:
Can we make `s"${e.getClass.getCanonicalName}: ${e.getMessage}"` JSON format
as well? e.g. the java class name can be the error class.
--
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]