-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-20396][SQL][PySpark][FOLLOW-UP] groupby().apply() with pandas udf #19517
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
Conversation
This reverts commit 122a7bc.
|
Test build #82841 has finished for PR 19517 at commit
|
|
Test build #82842 has finished for PR 19517 at commit
|
|
retest this please |
python/pyspark/sql/functions.py
Outdated
|
|
||
|
|
||
| class PythonUdfType(object): | ||
| # row-based UDFs |
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.
Nit: Please update all row-based UDFs to row-at-a-time UDFs
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, I'll update it.
| import org.apache.spark.sql.types.DataType | ||
|
|
||
| private[spark] object PythonUdfType { | ||
| // row-based UDFs |
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.
The same 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, I'll update it, too.
|
LGTM. @ueshin Could you remove |
|
Test build #82922 has finished for PR 19517 at commit
|
|
Test build #82921 has finished for PR 19517 at commit
|
|
retest this please |
|
Test build #82926 has finished for PR 19517 at commit
|
|
retest this please |
|
Test build #82936 has finished for PR 19517 at commit
|
What changes were proposed in this pull request?
This is a follow-up of #18732.
This pr modifies
GroupedData.apply()method to convert pandas udf to grouped udf implicitly.How was this patch tested?
Exisiting tests.