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

release memory on 0% selectivity #4000

Merged
merged 1 commit into from
Jul 13, 2022
Merged

release memory on 0% selectivity #4000

merged 1 commit into from
Jul 13, 2022

Conversation

ritchie46
Copy link
Member

See: jorgecarleitao/arrow2#1163

When a filter selected no data, we sliced the arrays, meaning that all memory remained allocated.

This could lead to predicate pushdown where no data was selected from row groups, but still memory kept increasing.

related: #3974

@github-actions github-actions bot added python Related to Python Polars rust Related to Rust Polars labels Jul 13, 2022
@ritchie46 ritchie46 merged commit 12f639f into master Jul 13, 2022
@ritchie46 ritchie46 deleted the improve_filter branch July 13, 2022 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant