spark icon indicating copy to clipboard operation
spark copied to clipboard

[SPARK-39924][CORE] Extract `constructUnsupportedMergeException` method to deduplicate code in `AccumulatorV2`

Open LuciferYang opened this issue 3 years ago • 0 comments

What changes were proposed in this pull request?

The same UnsupportedOperationException is constructed in 3 places in AccumulatorV2, this pr extract an helper method to deduplicate code.

Why are the changes needed?

Deduplicate code

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass GitHub Actions.

LuciferYang avatar Jul 29 '22 12:07 LuciferYang