Skip to content

[SPARK-56217][PYTHON] Fix bucketBy exceptions in connect#55020

Closed
gaogaotiantian wants to merge 2 commits intoapache:masterfrom
gaogaotiantian:fix-bucketby-error
Closed

[SPARK-56217][PYTHON] Fix bucketBy exceptions in connect#55020
gaogaotiantian wants to merge 2 commits intoapache:masterfrom
gaogaotiantian:fix-bucketby-error

Conversation

@gaogaotiantian
Copy link
Contributor

What changes were proposed in this pull request?

  • Fix exception type in connect/readwriter.py.
  • Add tests for exceptions.

Why are the changes needed?

The existing exceptions in connect/readwriter.py is different than the classic version because #40986 made a mistake and mixed up the exceptions that are supposed to raise.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Locally the test passed.

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

No.

@zhengruifeng
Copy link
Contributor

merged to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants