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-41871][CONNECT] DataFrame hint parameter can be str, float or int #39393
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good otherwise
Actually Spark Connect does not have _jdf
@HyukjinKwon adding list to this would require more changes in proto definition, I'm not super familiar with proto3, but it doesn't support extending and we can't do repeated oneof either. |
yeah that's fine. |
Merged to master. |
What changes were proposed in this pull request?
Spark Connect DataFrame hint parameter can be str, list, float, or int. This is done in parity with pyspark DataFrame.hint
Why are the changes needed?
For parity
Does this PR introduce any user-facing change?
yes, allows more types as parameters.
How was this patch tested?
Enabling existing tests