Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-42] early release sort input #43

Merged
merged 2 commits into from
Jan 18, 2021

Conversation

zhouyuan
Copy link
Collaborator

What changes were proposed in this pull request?

partially fixes: #42

this patch tries to close sort input when there's no next result in sort result iterator. In cases like columnar WSCG, this can help to release the memory on the first consumer operator of columnar sort, instead of waiting for the last operator to release all batches.

Signed-off-by: Yuan Zhou [email protected]

How was this patch tested?

verified locally

@zhouyuan zhouyuan merged commit c907202 into oap-project:master Jan 18, 2021
@github-actions
Copy link

Signed-off-by: Yuan Zhou <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

reduce columnar sort memory footprint
1 participant