Skip to content

Use fetch limit in get_sorted_iter  #3544

@Dandandan

Description

@Dandandan

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As @alamb suggested #3530 (comment) we can provide the fetch limit as well, reducing some of the work in the sort operator and the following SortPreservingMergeExec.

Describe the solution you'd like
Wire up fetch to lexsort_to_indices

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestperformanceMake DataFusion faster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions