GitHub user BryanCutler opened a pull request:
https://github.com/apache/spark/pull/8594
[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.2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8594.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 #8594
----
commit feed49946f91a13a5a0a710c8cae43c86cc94e32
Author: Bryan Cutler <[email protected]>
Date: 2015-09-04T00:10:44Z
[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]