You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2017/07/02 04:19:00 UTC
[jira] [Created] (SPARK-21278) Upgrade to Py4J 0.10.5
Dongjoon Hyun created SPARK-21278:
-------------------------------------
Summary: 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