GitHub user falaki opened a pull request:
https://github.com/apache/spark/pull/15421
[SPARK-17811] SparkR cannot parallelize data.frame with NA or NULL in Date
columns
## What changes were proposed in this pull request?
NA date values are serialized as "NA" and NA time values are serialized as
NaN from R. In the backend we did not have proper logic to deal with them. As a
result we got an IllegalArgumentException for Date and wrong value for time.
This PR adds support for deserializing NA as Date and Time.
## How was this patch tested?
* [ ] TODO
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/falaki/spark SPARK-17811
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15421.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 #15421
----
commit 349a47b1551d1bd73c6c21cbcdebb08f01b8cd45
Author: Hossein <[email protected]>
Date: 2016-10-10T20:56:55Z
Support for deserializing NA as Date and Time
----
---
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]