GitHub user heary-cao opened a pull request:

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

    [MINOR][SQL]throw SparkOutOfMemoryError intead of SparkException in 
UnsafeHashedRelation

    ## What changes were proposed in this pull request?
    
    When build hash Map with one row of data and run out of memory, we should 
throw a SparkOutOfMemoryError exception, which is more accurate than 
SparkException. this PR fix it.
    
    ## How was this patch tested?
    
    N / A


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

    $ git pull https://github.com/heary-cao/spark throwUnsafeHashedRelation

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

    https://github.com/apache/spark/pull/23190.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 #23190
    
----
commit 8046944efdc66dc3072b07f5a426a006e46e4975
Author: caoxuewen <cao.xuewen@...>
Date:   2018-12-01T03:58:32Z

    throw SparkOutOfMemoryError intead of SparkException in UnsafeHashedRelation

----


---

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

Reply via email to