You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/02/17 06:38:18 UTC
[jira] [Commented] (SPARK-13354) Push filter throughout outer join
when the condition can filter out empty row
[ https://issues.apache.org/jira/browse/SPARK-13354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149923#comment-15149923 ]
Apache Spark commented on SPARK-13354:
--------------------------------------
User 'davies' has created a pull request for this issue:
https://github.com/apache/spark/pull/11234
> Push filter throughout outer join when the condition can filter out empty row
> ------------------------------------------------------------------------------
>
> Key: SPARK-13354
> URL: https://issues.apache.org/jira/browse/SPARK-13354
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Davies Liu
> Assignee: Davies Liu
>
> For a query
> {code}
> select * from a left outer join b on a.a = b.a where b.b > 10
> {code}
> The condition `b.b > 10` will filter out all the row that the b part of it is empty.
> In this case, we should use Inner join, and push down the filter into b.
--
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