-
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-17808][PYSPARK] Upgraded version of Pyrolite to 4.13 #15386
[SPARK-17808][PYSPARK] Upgraded version of Pyrolite to 4.13 #15386
Conversation
…BinaryType StructField
Test build #66474 has finished for PR 15386 at commit
|
# Pyrolite version <= 4.9 could not serialize BinaryType with Python3 SPARK-17808 | ||
schema = StructType([StructField('mybytes', BinaryType())]) | ||
data = [[bytearray(b'here is my data')], | ||
[bytearray(b'and here is some more')],] |
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.
linter error here with the ','
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.
ooops, thought I ran local style checks, but maybe it was for scala :(
Thanks for working on this - the pylint script found a style problem (PEP8 checks failed. |
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.
I skimmed the changes from 4.9 and didn't see anything that seemed like it was worth investigating. Looks OK for master.
Test build #66509 has finished for PR 15386 at commit
|
Yeah I figured you'd need to run |
@BryanCutler if you'll update accordingly I'll merge it. |
Test build #3312 has finished for PR 15386 at commit
|
Thanks @srowen , I wasn't aware of that script. Hopefully this should be good to go now! |
Test build #66666 has finished for PR 15386 at commit
|
Hmm, I don't think there should be a MiMa issue right? It passes locally anyway.. let me try again |
Jenkins retest this please |
Test build #66672 has finished for PR 15386 at commit
|
retest this please |
Test build #66683 has finished for PR 15386 at commit
|
Merged to master |
Merged to 2.0 too |
## What changes were proposed in this pull request? Upgraded to a newer version of Pyrolite which supports serialization of a BinaryType StructField for PySpark.SQL ## How was this patch tested? Added a unit test which fails with a raised ValueError when using the previous version of Pyrolite 4.9 and Python3 Author: Bryan Cutler <cutlerb@gmail.com> Closes #15386 from BryanCutler/pyrolite-upgrade-SPARK-17808. (cherry picked from commit 658c714) Signed-off-by: Sean Owen <sowen@cloudera.com>
## What changes were proposed in this pull request? Upgraded to a newer version of Pyrolite which supports serialization of a BinaryType StructField for PySpark.SQL ## How was this patch tested? Added a unit test which fails with a raised ValueError when using the previous version of Pyrolite 4.9 and Python3 Author: Bryan Cutler <cutlerb@gmail.com> Closes apache#15386 from BryanCutler/pyrolite-upgrade-SPARK-17808.
What changes were proposed in this pull request?
Upgraded to a newer version of Pyrolite which supports serialization of a BinaryType StructField for PySpark.SQL
How was this patch tested?
Added a unit test which fails with a raised ValueError when using the previous version of Pyrolite 4.9 and Python3