spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shivaram Venkataraman (JIRA)" <>
Subject [jira] [Commented] (SPARK-10312) Enhance SerDe to handle atomic vector
Date Tue, 15 Dec 2015 18:21:46 GMT


Shivaram Venkataraman commented on SPARK-10312:

SInce the SerDe is an internal API I think its fine to not support some of the use cases.
We can close this issue as `Will not fix` if you think thats ok. 

> Enhance SerDe to handle atomic vector
> -------------------------------------
>                 Key: SPARK-10312
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: SparkR
>    Affects Versions: 1.4.1
>            Reporter: Sun Rui
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message