Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Incomplete
-
2.2.0
-
None
Description
SparkR::createDataFrame() wipes timezone attribute from POSIXct and POSIXlt. See following example:
> x <- data.frame(x = c(Sys.time())) > x x 1 2017-09-06 19:17:16 > attr(x$x, "tzone") <- "Europe/Paris" > x x 1 2017-09-07 04:17:16 > collect(createDataFrame(x)) x 1 2017-09-06 19:17:16