[jira] [Updated] (SPARK-31144) Wrap java.lang.Error with an exception for QueryExecutionListener.onFailure

2020-03-13 Thread Dongjoon Hyun (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-31144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated SPARK-31144:
--
Fix Version/s: 2.4.6

> Wrap java.lang.Error with an exception for QueryExecutionListener.onFailure
> ---
>
> Key: SPARK-31144
> URL: https://issues.apache.org/jira/browse/SPARK-31144
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Shixiong Zhu
>Priority: Major
> Fix For: 2.4.6
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-31144) Wrap java.lang.Error with an exception for QueryExecutionListener.onFailure

2020-03-13 Thread Dongjoon Hyun (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-31144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun updated SPARK-31144:
--
Parent: SPARK-31085
Issue Type: Sub-task  (was: Bug)

> Wrap java.lang.Error with an exception for QueryExecutionListener.onFailure
> ---
>
> Key: SPARK-31144
> URL: https://issues.apache.org/jira/browse/SPARK-31144
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Shixiong Zhu
>Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-31144) Wrap java.lang.Error with an exception for QueryExecutionListener.onFailure

2020-03-13 Thread Shixiong Zhu (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-31144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shixiong Zhu updated SPARK-31144:
-
Issue Type: Bug  (was: Test)

> Wrap java.lang.Error with an exception for QueryExecutionListener.onFailure
> ---
>
> Key: SPARK-31144
> URL: https://issues.apache.org/jira/browse/SPARK-31144
> Project: Spark
>  Issue Type: Bug
>  Components: SQL
>Affects Versions: 3.0.0
>Reporter: Shixiong Zhu
>Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org