GitHub user dongjoon-hyun opened a pull request:

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

    [SPARK-21278][PySpark] Upgrade to Py4J 0.10.5

    ## What changes were proposed in this pull request?
    
    This PR aims to bump Py4J in order to fix the following float/double bug.
    Py4J 0.10.5 fixes this (https://github.com/bartdag/py4j/issues/272).
    
    **BEFORE**
    ```
    >>> df = spark.range(1)
    >>> df.select(df['id'] + 17.133574204226083).show()
    +--------------------+
    |(id + 17.1335742042)|
    +--------------------+
    |       17.1335742042|
    +--------------------+
    ```
    
    **AFTER**
    ```
    >>> df = spark.range(1)
    >>> df.select(df['id'] + 17.133574204226083).show()
    +-------------------------+
    |(id + 17.133574204226083)|
    +-------------------------+
    |       17.133574204226083|
    +-------------------------+
    ```
    
    ## How was this patch tested?
    
    Manual.

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

    $ git pull https://github.com/dongjoon-hyun/spark SPARK-21278

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

    https://github.com/apache/spark/pull/18502.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 #18502
    
----
commit bfdfcf52b26a598bf49289fd0646d667024264e5
Author: Dongjoon Hyun <dongj...@apache.org>
Date:   2017-07-02T04:18:32Z

    [SPARK-21278][PySpark] Upgrade to Py4J 0.10.5

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to