GitHub user BryanCutler opened a pull request:

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

    [SPARK-23699][PYTHON][SQL] Raise same type of error caught with Arrow 
enabled

    ## What changes were proposed in this pull request?
    
    When using Arrow for createDataFrame or toPandas and an error is 
encountered with fallback disabled, this will raise the same type of error 
instead of a RuntimeError.
    
    ## How was this patch tested?
    
    Updated existing tests to verify error type.

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

    $ git pull https://github.com/BryanCutler/spark 
arrow-raise-same-error-SPARK-23699

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

    https://github.com/apache/spark/pull/20839.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 #20839
    
----
commit 5caf63cc32a7546823e64d774faee9fb63a6b286
Author: Bryan Cutler <cutlerb@...>
Date:   2018-03-15T23:07:27Z

    raise same type of error when not falling back

----


---

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

Reply via email to