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

test(join): add test that colliding column names will get merged into one #10778

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NickCrews
Copy link
Contributor

@NickCrews NickCrews commented Feb 3, 2025

I'm adding this PR mostly as a demo of what I think might be undesirable behavior. Should this instead error, because the two input columns are getting mapped to the same output column?

@cpcloud curious what you think here

@github-actions github-actions bot added the tests Issues or PRs related to tests label Feb 3, 2025
@NickCrews NickCrews marked this pull request as ready for review February 3, 2025 05:06
@cpcloud
Copy link
Member

cpcloud commented Feb 4, 2025

Yep, this isn't entirely correct.

The name is only allowed to be merged into a single output column in the case of inner joins (with equality predicates only, which is implicit in this test).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Issues or PRs related to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants