GitHub user hvanhovell opened a pull request:

    https://github.com/apache/spark/pull/15760

    [SPARK-18259][SQL]Do not capture Throwable in QueryExecution

    ## What changes were proposed in this pull request?
    `QueryExecution.toString` currently captures `java.lang.Throwable`s; this 
is far from a best practice and can lead to confusing situation or invalid 
application states. This PR fixes this by only capturing `AnalysisException`s.
    
    ## How was this patch tested?
    Added a `QueryExecutionSuite`.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hvanhovell/spark SPARK-18259

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15760.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15760
    
----
commit d76c37ee05842b2295b898886915a02fa86df2af
Author: Herman van Hovell <[email protected]>
Date:   2016-11-03T22:42:55Z

    Do not capture throwable in QueryExecution

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to