jiaan.geng created SPARK-41337:
----------------------------------

             Summary: Add a physical rule to remove the partialLimitExec node
                 Key: SPARK-41337
                 URL: https://issues.apache.org/jira/browse/SPARK-41337
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.4.0
            Reporter: jiaan.geng


Currently, the planner WindowGroupLimit creates two WindowGroupLimitExec node.

We can add a physical rule to remove the partialLimitExec node, if there is no 
shuffle between the two nodes (partialLimitExec's outputPartitioning satisfies 
the finalLimitExec's requiredChildDistribution)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to