Skip to content

Limit is not pushed down SortPreservingMergeExec #17894

Closed

Description

@Dandandan

Describe the bug

Currently, the limit can be pushed down:

--GlobalLimitExec
----BoundedWindowAggExec: wdw=
------SortPreservingMergeExec: [c1@2 ASC NULLS LAST, c2@3 ASC NULLS LAST]
--------SortExec: expr=[c1@2 ASC NULLS LAST, c2@3 ASC NULLS LAST], preserve_partitioning=[true]

We should be able to push down limit below SPM as well.

To Reproduce

No response

Expected behavior

No response

Additional context

No response

Activity

  1. added theissue type on Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions