GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/18546
[SPARK-21278][PYSPARK] Upgrade to Py4J 0.10.6
## 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) and the
latest Py4J is 0.10.6.
**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/18546.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 #18546
----
commit 2eb4e6405e1fe7626c4dfe575c21dc7cb07491e6
Author: Dongjoon Hyun <[email protected]>
Date: 2017-07-05T18:11:39Z
[SPARK-21278][PYSPARK] Upgrade to Py4J 0.10.6
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]