spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evan Chan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-3295) [Spark SQL] schemaRdd1 ++ schemaRdd2 does not return another SchemaRdd
Date Fri, 29 Aug 2014 06:09:53 GMT
Evan Chan created SPARK-3295:
--------------------------------

             Summary: [Spark SQL] schemaRdd1 ++ schemaRdd2  does not return another SchemaRdd
                 Key: SPARK-3295
                 URL: https://issues.apache.org/jira/browse/SPARK-3295
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.0.2
            Reporter: Evan Chan
            Priority: Minor


Right now, 

schemaRdd1.unionAll(schemaRdd2) returns a SchemaRdd.

However,

schemaRdd1 ++ schemaRdd2 returns an RDD[Row].
Similarly,
schemaRdd1.union(schemaRdd2) returns an RDD[Row].

This is inconsistent.  Let's make ++ and union have the same behavior as unionAll.

Actually, not sure there needs to be both union and unionAll.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message