-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-21190][PYSPARK] Python Vectorized UDFs #18659
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
Closed
BryanCutler
wants to merge
19
commits into
apache:master
from
BryanCutler:arrow-vectorized-udfs-SPARK-21404
Closed
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
be81ef6
vectorized udfs working but hardcoded for ArrowPandasSerializer
BryanCutler 8569736
Added conf for enabling vectorized UDFs, now working
BryanCutler 9236e99
Columns for ArrowPandasSerializer need unique name
BryanCutler cc7ed5a
fixup ArrowEvalPythonExec to work with new fromPayloadIterator
BryanCutler cf764b0
changed conf to use a vectorized flag instead on per UDF basis
BryanCutler 4f6c950
fixed chaining of multiple udfs in serializer
BryanCutler 91dead2
changed decorator to pandas_udf
BryanCutler 4a2fec2
changed type to SQL_PANDAS_UDF
BryanCutler 518126e
Add tests.
ueshin 3b4465c
revert unrelated change
BryanCutler 25e3a71
added optional kwarg to pandas_udf to get expected return vector length
BryanCutler dc237e7
style fixes
BryanCutler 4a0691b
changed kwarg to use length instead of size key
BryanCutler d49a3db
Added pyarrow.Array type to coerce promoted types, working with pyarr…
BryanCutler 69112a5
Refactor EvalPythonExec.
ueshin f451d65
fixes from comments in PR
BryanCutler 44a20f6
use generator for conforming series input in serializer
BryanCutler 53926cc
use fillna before casting with astype
BryanCutler b8ffa50
added test and fix for chained pandas_udf
BryanCutler File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
changed type to SQL_PANDAS_UDF
- Loading branch information
commit 4a2fec2aca1998ad04862eeac60d54b088b99de5
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: I think we usually write it in a style as:
There are similar styles above, e.g.
map { case (attr, i) => ...->.map { case (attr, i) => ....