You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bibudh Lahiri (JIRA)" <ji...@apache.org> on 2015/01/08 03:25:34 UTC
[jira] [Commented] (SPARK-4689) Unioning 2 SchemaRDDs should return
a SchemaRDD in Python, Scala, and Java
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org