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] [Commented] (SPARK-6459) Warn when Column API is constructing trivially true equality
Date Tue, 29 Dec 2015 21:34:49 GMT

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

Michael Armbrust commented on SPARK-6459:
-----------------------------------------

We do special case that very common problem, but I bet if you construct something more complicated
(include an OR or a UDF) it will not get rewritten.

> Warn when Column API is constructing trivially true equality
> ------------------------------------------------------------
>
>                 Key: SPARK-6459
>                 URL: https://issues.apache.org/jira/browse/SPARK-6459
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.3.0
>            Reporter: Michael Armbrust
>            Assignee: Michael Armbrust
>            Priority: Critical
>             Fix For: 1.3.1, 1.4.0
>
>
> Right now its pretty confusing when a user constructs and equality predicate that is
going to be use in a self join, where the optimizer cannot distinguish between the attributes
in question (e.g.,  [SPARK-6231]).  Since there is really no good reason to do this, lets
print a warning.



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