You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While one of the major benefits of this operator is to reduce memory required when sorting data (as it can emit early) we should also handle the case when it still can not fit everything in
Describe the solution you'd like
Add spilling support to PartialSortExec so that if it runs out of memory it will spill to disk rather than error
Describe alternatives you've considered
No response
Additional context
#9153 tracks enabling PartialSort for more queries
Activity
yyy1000 commentedon Feb 15, 2024
I want to help it.
Though it seems not a small project, I think there's spilling implementation in
SortExecand I can learn from that.alamb commentedon Feb 16, 2024
Thanks @yyy1000 -- I would definitely recommend