Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-41337

Add a physical rule to remove the partialLimitExec node

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 3.4.0
    • None
    • SQL
    • None

    Description

      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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            beliefer Jiaan Geng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: