You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (Jira)" <ji...@apache.org> on 2021/03/05 02:12:00 UTC

[jira] [Created] (SPARK-34628) Remove GlobalLimit operator if it's child max row <= limit

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org