Repository navigation
Spark: Remove ImmutableMap from SparkPartition for Kryo SerDe - #3667
Conversation
7308de4 to
396cfdb
Compare
|
Hmmm it seems like when I rebased, it might have removed the co-authorship from @dubeme. Before we merge this in, can we please ensure that I can update it on my end somehow if need be. |
Sure thing. I almost did but I wasn’t sure where exactly we’re drawing the line. But this is small and if people need it, they need it for all versions (or can edit one or more out). EDIT: I have covered and added basic tests for Spark 2.4, 3.0, and 3.1. |
…(spark 3.2) Co-authored-by: Dubem Enyekwe <[email protected]>
5d0a14b to
44af3f0
Compare
jackye1995
left a comment
There was a problem hiding this comment.
looks good to me, will merge on Monday if no one objects.
|
Thanks for getting this finished, @kbendick! |
|
Thanks @kbendick for stepping in in my absence |
Co-authored-by: Dubem Enyekwe <[email protected]>
This PR replaces #3597, as @dubeme has not responded about some minor changes and we need this patch prior to the upcoming 0.13.0 release.
I have added them as a co-author on this PR so that they still get credit for their contribution 😄
Issue #3586 shows situation where Kyro is unable to serialize the SparkPartition object (@rdblue points it out from the stack trace). This commit replaces the ImmutableMap with HashMap and adds a test for round trip Kryo serialization and Java serialization for
SparkPartitionobjects.I also tested this by running the
add_filestest suite with Kryo serialization enabled. The tests failed until this patch was applied. Unfortunately, I couldn't add a test there as the usualwithSQLConfmethod did not pick up the change inspark.serializer.Co-authored-by: Dubem Enyekwe [email protected]
cc @rdblue @jackye1995 @dubeme