Description
SPARK-28556 changed the method QueryExecutionListener.onFailure to allow Spark sending java.lang.Error to this method. As this change breaks APIs, we cannot fix branch-2.4.
marmbrus suggested to wrap java.lang.Error with an exception instead to avoid a breaking change. A bonus of this solution is we can also fix the issue (if a query throws java.lang.Error, QueryExecutionListener doesn't get notified) in branch-2.4.
Attachments
Issue Links
- is related to
-
SPARK-28556 Error should also be sent to QueryExecutionListener.onFailure
- Resolved
- links to