You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/01/03 02:10:37 UTC
[GitHub] viirya opened a new pull request #23432:
[SPARK-25591][PySpark][SQL][BRANCH-2.3] Avoid overwriting deserialized
accumulator
viirya opened a new pull request #23432: [SPARK-25591][PySpark][SQL][BRANCH-2.3] Avoid overwriting deserialized accumulator
URL: https://github.com/apache/spark/pull/23432
## 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.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org