You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hossein Falaki (JIRA)" <ji...@apache.org> on 2017/09/07 02:21:00 UTC
[jira] [Created] (SPARK-21940) Support timezone for timestamps in
SparkR
Hossein Falaki created SPARK-21940:
--------------------------------------
Summary: Support timezone for timestamps in SparkR
Key: SPARK-21940
URL: https://issues.apache.org/jira/browse/SPARK-21940
Project: Spark
Issue Type: Bug
Components: SparkR
Affects Versions: 2.2.0
Reporter: Hossein Falaki
{{SparkR::createDataFrame()}} wipes timezone attribute from POSIXct and POSIXlt. See following example:
{code}
> 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
{code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org