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 2015/06/12 08:41:00 UTC
[jira] [Commented] (SPARK-7267) Push down Project when it's child
is Limit
[ https://issues.apache.org/jira/browse/SPARK-7267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583041#comment-14583041 ]
Apache Spark commented on SPARK-7267:
-------------------------------------
User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/6780
> Push down Project when it's child is Limit
> -------------------------------------------
>
> Key: SPARK-7267
> URL: https://issues.apache.org/jira/browse/SPARK-7267
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 1.3.1
> Reporter: Zhongshuai Pei
> Assignee: Zhongshuai Pei
> Priority: Critical
> Fix For: 1.4.0
>
>
> SQL
> {quote}
> select key from (select key,value from t1 limit 100) t2 limit 10
> {quote}
> Optimized Logical Plan before modifying
> {quote}
> == Optimized Logical Plan ==
> Limit 10
> Project [key#228]
> Limit 100
> MetastoreRelation default, t1, None
> {quote}
> Optimized Logical Plan after modifying
> {quote}
> == Optimized Logical Plan ==
> Limit 10
> Limit 100
> Project [key#228]
> MetastoreRelation default, t1, None
> {quote}
> After this, we can combine limits
--
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