Description
To reproduce:
df <- data.frame(Date = as.Date(c(rep("2016-01-10", 10), "NA", "NA")), id = 1:12) dim(createDataFrame(df))
We don't seem to have this problem with POSIXlt
df <- data.frame(Date = as.POSIXlt(as.Date(c(rep("2016-01-10", 10), "NA", "NA"))), id = 1:12) dim(createDataFrame(df))
Attachments
Issue Links
- relates to
-
SPARK-42005 SparkR cannot collect dataframe with NA in a date column along with another timestamp column
- Resolved
- links to