You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/06/25 14:32:25 UTC

[GitHub] [spark] wangyum opened a new pull request, #36990: [SPARK-39600][SQL] Enhance pushdown limit through window

wangyum opened a new pull request, #36990:
URL: https://github.com/apache/spark/pull/36990

   ### What changes were proposed in this pull request?
   
   This PR adds support more cases for pushing down limit through window:
   ```sql
   SELECT *, ROW_NUMBER() OVER(PARTITION BY a ORDER BY b) AS rn FROM Tab1 LIMIT 5;
   
   SELECT *
   FROM   (SELECT *, row_number() OVER(PARTITION BY a ORDER BY b) AS rn FROM tab1) t
   WHERE  rn <= 5 LIMIT 5 
   ```
   
   ### Why are the changes needed?
   
   Improve query performance.
   
   Impala also support it: https://issues.apache.org/jira/browse/IMPALA-9983
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Unit test and benchmark test:
   
   SQL | Spark 3.3.0(Seconds) | Carmel Spark(Seconds)
   -- | -- | --
   TPC-DS q67 | 1589 | 137
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-39600][SQL] Enhance pushdown limit through window [spark]

Posted by "xianyinxin (via GitHub)" <gi...@apache.org>.
xianyinxin commented on PR #36990:
URL: https://github.com/apache/spark/pull/36990#issuecomment-1751951569

   Will this be continue? @wangyum 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] wangyum commented on pull request #36990: [SPARK-39600][SQL] Enhance pushdown limit through window

Posted by GitBox <gi...@apache.org>.
wangyum commented on PR #36990:
URL: https://github.com/apache/spark/pull/36990#issuecomment-1168125577

   @cloud-fan @sigmod 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] HyukjinKwon commented on pull request #36990: [SPARK-39600][SQL] Enhance pushdown limit through window

Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on PR #36990:
URL: https://github.com/apache/spark/pull/36990#issuecomment-1174618239

   cc @hvanhovell FYI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] github-actions[bot] closed pull request #36990: [SPARK-39600][SQL] Enhance pushdown limit through window

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #36990: [SPARK-39600][SQL] Enhance pushdown limit through window
URL: https://github.com/apache/spark/pull/36990


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] github-actions[bot] commented on pull request #36990: [SPARK-39600][SQL] Enhance pushdown limit through window

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #36990:
URL: https://github.com/apache/spark/pull/36990#issuecomment-1279611498

   We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
   If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org