GitHub user BryanCutler opened a pull request:
https://github.com/apache/spark/pull/8593
[SPARK-6931] [PYSPARK] Cast Python time float values to int before
serialization
Python time values return a floating point value, need to cast to integer
before serialize with struct.pack('!q', value)
https://issues.apache.org/jira/browse/SPARK-6931
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BryanCutler/spark
py-write_long-backport-6931-1.3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8593.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 #8593
----
commit 20cfeafd8557be55473b8091194704aec2ea3ba6
Author: Bryan Cutler <[email protected]>
Date: 2015-09-03T23:38:45Z
[SPARK-6931] Correctly cast Python time float values to int before
serialization
----
---
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]