SuccessChanges

Summary

  1. [SPARK-25591][PYSPARK][SQL][BRANCH-2.2] Avoid overwriting deserialized (details)
Commit 6f435e9f76a389ea1cbd65fd5a629ebff9c6b229 by gurwls223
[SPARK-25591][PYSPARK][SQL][BRANCH-2.2] Avoid overwriting deserialized
accumulator
## What changes were proposed in this pull request?
If we use accumulators in more than one UDFs, it is possible to
overwrite deserialized accumulators and its values. We should check if
an accumulator was deserialized before overwriting it in accumulator
registry.
## How was this patch tested?
Added test.
Closes #23433 from viirya/SPARK-25591-2.2.
Authored-by: Liang-Chi Hsieh <viirya@gmail.com> Signed-off-by: Hyukjin
Kwon <gurwls223@apache.org>
The file was modifiedpython/pyspark/sql/tests.py (diff)
The file was modifiedpython/pyspark/accumulators.py (diff)