You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/05/01 00:23:05 UTC
[jira] [Resolved] (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:all-tabpanel ]
Reynold Xin resolved SPARK-7267.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
Assignee: Zhongshuai Pei
> 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