spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Cheung (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-17781) datetime is serialized as double inside dapply()
Date Wed, 12 Oct 2016 17:27:20 GMT

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

Felix Cheung commented on SPARK-17781:
--------------------------------------

Thanks for the investigation. This might seem like a R thing? I'll try to reproduce this in
R 

> datetime is serialized as double inside dapply()
> ------------------------------------------------
>
>                 Key: SPARK-17781
>                 URL: https://issues.apache.org/jira/browse/SPARK-17781
>             Project: Spark
>          Issue Type: Bug
>          Components: SparkR
>    Affects Versions: 2.0.0
>            Reporter: Hossein Falaki
>
> When we ship a SparkDataFrame to workers for dapply family functions, inside the worker
DateTime objects are serialized as double.
> To reproduce:
> {code}
> df <- createDataFrame(data.frame(id = 1:10, date = Sys.Date()))
> dapplyCollect(df, function(x) { return(x$date) })
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message