You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/07/02 04:24:01 UTC

[jira] [Commented] (SPARK-21278) Upgrade to Py4J 0.10.5

    [ https://issues.apache.org/jira/browse/SPARK-21278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071493#comment-16071493 ] 

Apache Spark commented on SPARK-21278:
--------------------------------------

User 'dongjoon-hyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/18502

> Upgrade to Py4J 0.10.5
> ----------------------
>
>                 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
>
> 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
(v6.4.14#64029)

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