[ 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org