You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:25:33 UTC
[jira] [Updated] (SPARK-10312) Enhance SerDe to handle atomic
vector
[ https://issues.apache.org/jira/browse/SPARK-10312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon updated SPARK-10312:
---------------------------------
Labels: bulk-closed (was: )
> Enhance SerDe to handle atomic vector
> -------------------------------------
>
> Key: SPARK-10312
> URL: https://issues.apache.org/jira/browse/SPARK-10312
> Project: Spark
> Issue Type: Improvement
> Components: SparkR
> Affects Versions: 1.4.1
> Reporter: Sun Rui
> Priority: Major
> Labels: bulk-closed
>
> Currently, writeObject() does not handle atomic vector well. For an atomic vector, it treats it like a scalar object. For example, if you pass c(1:10) into writeObject, it will write a single integer as 1. You have to explicitly cast an atomic vector, for example, as.list(1:10), to a list, if you want to write the whole vector.
> Could we enhance the SerDe that when the object is an atomic vector whose length >1, convert it to a list and then write?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org