cloud-fan commented on code in PR #38302:
URL: https://github.com/apache/spark/pull/38302#discussion_r999055868
##########
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:
To clarify, I think adding a `isFailed` flag should be sufficient, but since
we need to change the event, it's better to add error message which is better.
Do I understand it correctly?
--
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]