Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31085 Amend Spark's Semantic Versioning Policy
  3. SPARK-31144

Wrap java.lang.Error with an exception for QueryExecutionListener.onFailure

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 2.4.6, 3.0.0
    • Component/s: SQL
    • Labels:
      None

      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.

      Michael Armbrust 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

            Activity

              People

              • Assignee:
                zsxwing Shixiong Zhu
                Reporter:
                zsxwing Shixiong Zhu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: