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

feat: Turn of coalescing and fix mutation of join on expressions #17061

Merged
merged 3 commits into from
Jun 19, 2024
Merged

Conversation

ritchie46
Copy link
Member

Joining on any expression other than col will turn off coalescing behavior and will keep all columns of both tables. This also fixes several bugs with regard to accidentally mutating the underlying columns and adding literal expressions to the tables.

fixes #13220
fixes #9621

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels Jun 19, 2024
@ritchie46 ritchie46 merged commit 8976c2c into main Jun 19, 2024
26 checks passed
@ritchie46 ritchie46 deleted the join branch June 19, 2024 10:50
wence- added a commit to wence-/cudf that referenced this pull request Jun 25, 2024
This is closer to the SQL behaviour and was changed by polars in
pola-rs/polars#17061.
wence- added a commit to wence-/cudf that referenced this pull request Jun 26, 2024
This is closer to the SQL behaviour and was changed by polars in
pola-rs/polars#17061.
wence- added a commit to wence-/cudf that referenced this pull request Jun 26, 2024
This is closer to the SQL behaviour and was changed by polars in
pola-rs/polars#17061.
wence- added a commit to wence-/cudf that referenced this pull request Jun 27, 2024
This is closer to the SQL behaviour and was changed by polars in
pola-rs/polars#17061.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

join/on expression mutates column last left-on expression shows up as "literal" column in join output
1 participant