Yuming Wang created SPARK-34628:
-----------------------------------

             Summary: 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



{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]

Reply via email to