[ 
https://issues.apache.org/jira/browse/SPARK-4689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268720#comment-14268720
 ] 

Bibudh Lahiri commented on SPARK-4689:
--------------------------------------

I'd like to work on this issue, but would need some details. I looked into 
./sql/core/src/main/scala/org/apache/spark/sql/SchemaRDD.scala where the 
unionAll method is defined as 

def unionAll(otherPlan: SchemaRDD) =
    new SchemaRDD(sqlContext, Union(logicalPlan, otherPlan.logicalPlan))

Are we looking for an implementation of union here (keeping duplicates only 
once), in addition to unionAll (keeping duplicates both the times)?

> Unioning 2 SchemaRDDs should return a SchemaRDD in Python, Scala, and Java
> --------------------------------------------------------------------------
>
>                 Key: SPARK-4689
>                 URL: https://issues.apache.org/jira/browse/SPARK-4689
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: Chris Fregly
>            Priority: Minor
>              Labels: starter
>
> Currently, you need to use unionAll() in Scala.  
> Python does not expose this functionality at the moment.
> The current work around is to use the UNION ALL HiveQL functionality detailed 
> here:  https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Union



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to