-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-44746][PYTHON] Add more Python UDTF documentation for functions that accept input tables #45375
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 good! Thanks for adding it.
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.
Thanks @allisonwang-db for your review! Responded to your comments.
spark.sql("CREATE TABLE values_table (a STRING, b INT)") | ||
spark.sql("INSERT INTO values_table VALUES ('abc', 2), ('abc', 4), ('def', 6), ('def', 8)") | ||
spark.table("values_table").show() | ||
|
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.
maybe we can have the output of the show() here?
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.
Sure, this is done.
Looks good! Also cc @ueshin and @HyukjinKwon |
Merged to master. |
What changes were proposed in this pull request?
This PR adds more Python UDTF documentation for functions that accept input tables.
Why are the changes needed?
This functionality was added recently but not covered in docs yet.
Does this PR introduce any user-facing change?
No, it's a documentation-only change.
How was this patch tested?
N/A
Was this patch authored or co-authored using generative AI tooling?
No