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

[SPARK-44907][PYTHON][CONNECT] DataFrame.join should throw IllegalArgumentException for invalid join types #42603

Closed
wants to merge 1 commit into from

Conversation

zhengruifeng
Copy link
Contributor

@zhengruifeng zhengruifeng commented Aug 22, 2023

What changes were proposed in this pull request?

DataFrame.join should throw IllegalArgumentException for invalid join types

Why are the changes needed?

all valid join types have already been supported, for an unknown one, should throw IllegalArgumentException now

Does this PR introduce any user-facing change?

yes

How was this patch tested?

enabled UT

Was this patch authored or co-authored using generative AI tooling?

NO

@zhengruifeng
Copy link
Contributor Author

cc @HyukjinKwon @itholic

zhengruifeng added a commit that referenced this pull request Aug 23, 2023
…gumentException for invalid join types

### What changes were proposed in this pull request?
`DataFrame.join` should throw IllegalArgumentException for invalid join types

### Why are the changes needed?
all valid join types have already been supported, for an unknown one, should throw `IllegalArgumentException` now

### Does this PR introduce _any_ user-facing change?
yes

### How was this patch tested?
enabled UT

### Was this patch authored or co-authored using generative AI tooling?
NO

Closes #42603 from zhengruifeng/test_df_join_type.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
(cherry picked from commit 7e5250a)
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
@zhengruifeng zhengruifeng deleted the test_df_join_type branch August 23, 2023 00:01
@zhengruifeng
Copy link
Contributor Author

thanks! merged to master and branch-3.5

ragnarok56 pushed a commit to ragnarok56/spark that referenced this pull request Mar 2, 2024
…gumentException for invalid join types

### What changes were proposed in this pull request?
`DataFrame.join` should throw IllegalArgumentException for invalid join types

### Why are the changes needed?
all valid join types have already been supported, for an unknown one, should throw `IllegalArgumentException` now

### Does this PR introduce _any_ user-facing change?
yes

### How was this patch tested?
enabled UT

### Was this patch authored or co-authored using generative AI tooling?
NO

Closes apache#42603 from zhengruifeng/test_df_join_type.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Ruifeng Zheng <ruifengz@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants