HeartSaVioR commented on code in PR #41150:
URL: https://github.com/apache/spark/pull/41150#discussion_r1193454180
##########
sql/core/src/main/scala/org/apache/spark/sql/streaming/StreamingQueryListener.scala:
##########
@@ -154,11 +154,22 @@ object StreamingQueryListener {
* @param runId A query id that is unique for every start/restart. See
`StreamingQuery.runId()`.
* @param exception The exception message of the query if the query was
terminated
* with an exception. Otherwise, it will be `None`.
+ * @param errorClassOnException The error class from the exception if the
query was terminated
+ * with an exception which is a part of error
class framework.
Review Comment:
SparkException and SparkThrowable are all public API where we expose to API
doc. It's just that we lack about documentation for these classes. That's
something we have to fix; we could probably refer to
SparkThrowable.getErrorClass here, but it's not documented so wouldn't help
unfortunately.
--
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]