[
https://issues.apache.org/jira/browse/SPARK-34628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun resolved SPARK-34628.
-----------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Issue resolved by pull request 31750
[https://github.com/apache/spark/pull/31750]
> Remove GlobalLimit operator if it's child max row <= limit
> ----------------------------------------------------------
>
> Key: SPARK-34628
> URL: https://issues.apache.org/jira/browse/SPARK-34628
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Yuming Wang
> Assignee: Apache Spark
> Priority: Major
> Fix For: 3.2.0
>
>
> {code:scala}
> test("Remove GlobalLimit operator if it's child max row <= limit") {
> val query = GlobalLimit(100, testRelation)
> val optimized = Optimize.execute(query.analyze)
> comparePlans(optimized, testRelation)
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]