Skip to content

Limit is not pushed down SortPreservingMergeExec #17894

@Dandandan

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

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