You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weichen Xu (JIRA)" <ji...@apache.org> on 2016/10/10 12:18:20 UTC
[jira] [Updated] (SPARK-17540) SparkR array serde cannot work
correctly when array length == 0
[ https://issues.apache.org/jira/browse/SPARK-17540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weichen Xu updated SPARK-17540:
-------------------------------
Description:
SparkR cannot handle array serde when array length == 0
when length = 0
R side set the element type as class("somestring")
so that scala side code receive it as a string array,
but the array we need to transfer may be other types,
it will cause problem.
{code:title=Bar.java|borderStyle=solid}
// Some comments here
public String getFoo()
{
return foo;
}
{code}
was:
SparkR cannot handle array serde when array length == 0
when length = 0
R side set the element type as class("somestring")
so that scala side code receive it as a string array,
but the array we need to transfer may be other types,
it will cause problem.
> SparkR array serde cannot work correctly when array length == 0
> ---------------------------------------------------------------
>
> Key: SPARK-17540
> URL: https://issues.apache.org/jira/browse/SPARK-17540
> Project: Spark
> Issue Type: Bug
> Components: Spark Core, SparkR
> Affects Versions: 2.1.0
> Reporter: Weichen Xu
>
> SparkR cannot handle array serde when array length == 0
> when length = 0
> R side set the element type as class("somestring")
> so that scala side code receive it as a string array,
> but the array we need to transfer may be other types,
> it will cause problem.
> {code:title=Bar.java|borderStyle=solid}
> // Some comments here
> public String getFoo()
> {
> return foo;
> }
> {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