GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/19916
[SPARK-22716][SQL] Replace addReferenceObj to reduce the number of global
variables
## What changes were proposed in this pull request?
We have two methods to reference an object `addReferenceMinorObj` and
`addReferenceObj `. The latter creates a new global variable, which means new
entries in the constant pool.
The PR substitutes `addReferenceObj` with `addReferenceMinorObj` where
considered safe.
## How was this patch tested?
added UTs.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-22716
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19916.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 #19916
----
commit 3004a69058e5fce61fb2ea7b9bd7c883c5fa89ed
Author: Marco Gaido <[email protected]>
Date: 2017-12-06T18:10:32Z
[SPARK-22716][SQL] Replace addReferenceObj to reduce the number of global
variables
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]