[ 
https://issues.apache.org/jira/browse/SPARK-21940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609297#comment-16609297
 ] 

Wenchen Fan commented on SPARK-21940:
-------------------------------------

I'm removing the target version, since no one is working on it.

> 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
>            Priority: Major
>
> {{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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to