HeartSaVioR opened a new pull request, #41150: URL: https://github.com/apache/spark/pull/41150
### What changes were proposed in this pull request? This adds a new field in QueryTerminatedEvent about "error class" if the information exists in the exception. Note that it doesn't retrieve the information from StreamingQueryException, because it is marked as it's own error class and we want to know the causing exception. ### Why are the changes needed? Custom streaming query listeners can get the "categorized" error as cause of the query termination, which can be used to determine trends of the errors, aggregation, etc. ### Does this PR introduce _any_ user-facing change? Yes, users having customer streaming query listener will have additional information in termination event. ### How was this patch tested? Modified UTs. -- 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]
