-
Notifications
You must be signed in to change notification settings - Fork 28.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50808][CORE] Fix issue in writeAll with mixed types not gettin…
…g written properly ### What changes were proposed in this pull request? Fix a bug with LevelDB/RocksDB's batched write method (`writeAll`) not using the correct list to serialize values. Luckily, existing use of this api is for the same class - which avoids this bug in practice. This PR fixes the issue to ensure the api contract works as expected, and avoids issues in future. ### Why are the changes needed? Fix existing bug. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? New test introduced. Test fails without proposed changes. ### Was this patch authored or co-authored using generative AI tooling? No Closes #49479 from mridulm/mridulm/fix-kvstore-WriteAll-multiple-types. Authored-by: Mridul Muralidharan <mridulatgmail.com> Signed-off-by: Mridul Muralidharan <mridul<at>gmail.com> (cherry picked from commit 98d9968) Signed-off-by: Mridul Muralidharan <mridulatgmail.com>
- Loading branch information
Mridul Muralidharan
committed
Jan 18, 2025
1 parent
cfa6f30
commit 3bcd973
Showing
4 changed files
with
83 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 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 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 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