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

Marcelo Vanzin updated SPARK-21278:
-----------------------------------
    Fix Version/s: 2.2.2
                   2.1.3

> Upgrade to Py4J 0.10.6
> ----------------------
>
>                 Key: SPARK-21278
>                 URL: https://issues.apache.org/jira/browse/SPARK-21278
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Major
>             Fix For: 2.1.3, 2.2.2, 2.3.0
>
>
> This issue 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).
> {code}
> >>> df = spark.range(1)
> >>> df.select(df['id'] + 17.133574204226083).show()
> +--------------------+
> |(id + 17.1335742042)|
> +--------------------+
> |       17.1335742042|
> +--------------------+
> {code}
> {code}
> >>> df = spark.range(1)
> >>> df.select(df['id'] + 17.133574204226083).show()
> +-------------------------+
> |(id + 17.133574204226083)|
> +-------------------------+
> |       17.133574204226083|
> +-------------------------+
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to