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

fix: Don't pushdown predicates in cross join if the refer to both tables #16983

Merged
merged 2 commits into from
Jun 16, 2024

Conversation

ritchie46
Copy link
Member

fixes #16956

@github-actions github-actions bot added fix Bug fix python Related to Python Polars rust Related to Rust Polars labels Jun 16, 2024
Copy link

codspeed-hq bot commented Jun 16, 2024

CodSpeed Performance Report

Merging #16983 will degrade performances by 17.51%

Comparing cross (a0f3bd6) with main (1effc24)

Summary

❌ 1 regressions
✅ 36 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark main cross Change
test_groupby_h2oai_q1 2.1 ms 2.6 ms -17.51%

@ritchie46 ritchie46 merged commit 73cc712 into main Jun 16, 2024
25 of 26 checks passed
@ritchie46 ritchie46 deleted the cross branch June 16, 2024 07:50
@daBlesr
Copy link

daBlesr commented Jun 16, 2024

Hi @ritchie46 thank you picking this up this quickly. In the test I see you use a full join instead of a cross join, is this intentional? If I use a full join, the problem does not show up.

@ritchie46
Copy link
Member Author

Whoops. No, it isn't. I will update the test. The fix still is valid. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Bug fix python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

is_between in a filter for datetime gives incorrect results
2 participants