Lazy/Eager right-join is giving different results #19772
Labels
A-optimizer
Area: plan optimization
accepted
Ready for implementation
bug
Something isn't working
P-high
Priority: high
python
Related to Python Polars
Checks
Reproducible example
If I perform a right join between two lazy frames, and then filter by a value in the left table I get different results if I collect before or after the filter, i.e.
Log output
No response
Issue description
NA
Expected behavior
The result should only include rows that match the filter predicate applied after the join - i.e. the rows where lvalue is null should not be returned. If I'm reading it correctly, the plan for the first version has moved the filter to before the join, which I don't think it should be given it's a right join?
Installed versions
The text was updated successfully, but these errors were encountered: