Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wip: Fix SortPreservingMerge OOM kill issue #7261

Closed
wants to merge 14 commits into from
Closed

wip: Fix SortPreservingMerge OOM kill issue #7261

wants to merge 14 commits into from

Conversation

JayjeetAtGithub
Copy link
Contributor

@JayjeetAtGithub JayjeetAtGithub commented Aug 10, 2023

Which issue does this PR close?

Closes #7200.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label Aug 10, 2023
@JayjeetAtGithub JayjeetAtGithub changed the title Spm debug inf Fix SortPreservingMerge OOM kill issue Aug 10, 2023
@JayjeetAtGithub JayjeetAtGithub changed the title Fix SortPreservingMerge OOM kill issue wip: Fix SortPreservingMerge OOM kill issue Aug 10, 2023
@JayjeetAtGithub
Copy link
Contributor Author

The tests in this PR, are only for development purposes, and will be replaced by actual tests later

println!("Swapped old converter of size: {0} with new converter of size {1}", old_converter.size(), new_converter.size());
self.converter = new_converter;
}
Ok(RowCursor::new(old_rows, rows_reservation))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you will also have to arrange to rewrite all the outstanding existing Rows in other streams too somehow

@alamb
Copy link
Contributor

alamb commented Aug 16, 2023

Marking as draft to signify it is not waiting on review

@alamb alamb marked this pull request as draft August 16, 2023 18:53
@JayjeetAtGithub
Copy link
Contributor Author

Closing this PR in lieu of a new one according to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RowConverter keeps growing in size while merging streams on high-cardinality dictionary fields
2 participants