You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/09/01 12:04:45 UTC

[jira] [Resolved] (SPARK-9878) ReduceByKey + FullOuterJoin return 0 element if using an empty RDD

     [ https://issues.apache.org/jira/browse/SPARK-9878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-9878.
------------------------------
    Resolution: Cannot Reproduce

Agree, I also can't reproduce this.

>  ReduceByKey + FullOuterJoin return 0 element if using an empty RDD
> -------------------------------------------------------------------
>
>                 Key: SPARK-9878
>                 URL: https://issues.apache.org/jira/browse/SPARK-9878
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.4.0
>         Environment: linux ubuntu 64b spark-hadoop
> launched with Local[2]
>            Reporter: durand remi
>            Priority: Minor
>
> code to reproduce:
> println("ok :"+sc.parallelize(List((3,4),(4,5))).fullOuterJoin(sc.emptyRDD[(Int,Seq[Int])]).count)
> println("ko: "+sc.parallelize(List((3,4),(4,5))).fullOuterJoin(sc.emptyRDD[(Int,Seq[Int])].reduceByKey((e1, e2) => e1 ++ e2)).count)
> what i expect: 
> ok: 2
> ko: 2
> but what i have:
> ok: 2
> ko: 0



--
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