GitHub user rednaxelafx opened a pull request:
https://github.com/apache/spark/pull/21039
[SPARK-23960][SQL][MINOR] Mark HashAggregateExec.bufVars as transient
## What changes were proposed in this pull request?
Mark `HashAggregateExec.bufVars` as transient to avoid it from being
serialized.
Also manually null out this field at the end of `doProduceWithoutKeys()` to
shorten its lifecycle, because it'll no longer be used after that.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rednaxelafx/apache-spark codegen-improve
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21039.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21039
----
commit 0b5a075b9de40d36379551720d7e0e07ad6deb40
Author: Kris Mok <kris.mok@...>
Date: 2018-04-11T09:35:31Z
SPARK-23960: Mark HashAggregateExec.bufVars as transient
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]