spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Armbrust (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-3395) {SQL] DSL uses incorrect attribute ids after a distinct()
Date Thu, 04 Sep 2014 02:14:51 GMT

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

Michael Armbrust updated SPARK-3395:
------------------------------------
    Assignee: Eric Liang

> {SQL] DSL uses incorrect attribute ids after a distinct()
> ---------------------------------------------------------
>
>                 Key: SPARK-3395
>                 URL: https://issues.apache.org/jira/browse/SPARK-3395
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Eric Liang
>            Assignee: Eric Liang
>            Priority: Minor
>
> In the following example, 
> val rdd = ... // two columns: {key, value}
> val derivedRDD = rdd.distinct().limit(1)
> sql("explain select * from rdd inner join derivedRDD on rdd.key = derivedRDD.key")
> The inner join executes incorrectly since the two keys end up with the same attribute
id after analysis.



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


Mime
View raw message