diff options
author | Hossein <hossein@databricks.com> | 2016-10-21 12:38:52 -0700 |
---|---|---|
committer | Felix Cheung <felixcheung@apache.org> | 2016-10-21 12:38:52 -0700 |
commit | e371040a0150e4ed748a7c25465965840b61ca63 (patch) | |
tree | 3ec1992dfbb0487b318daf425cfa10229a02c99b /sql | |
parent | e21e1c946c4b7448fb150cfa2d9419864ae6f9b5 (diff) | |
download | spark-e371040a0150e4ed748a7c25465965840b61ca63.tar.gz spark-e371040a0150e4ed748a7c25465965840b61ca63.tar.bz2 spark-e371040a0150e4ed748a7c25465965840b61ca63.zip |
[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?
* [x] TODO
Author: Hossein <hossein@databricks.com>
Closes #15421 from falaki/SPARK-17811.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions