GitHub user mgaido91 opened a pull request:

    https://github.com/apache/spark/pull/19908

    [SPARK-22696][SQL] objects functions should not use unneeded global 
variables

    ## What changes were proposed in this pull request?
    
    Some objects functions are using global variables which are not needed. 
This can generate some unneeded entries in the constant pool.
    
    The PR replaces the unneeded global variables with local variables.
    
    ## 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-22696

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/19908.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 #19908
    
----
commit f5be83641627ff58dc9508e2d45b3e76ca333c75
Author: Marco Gaido <[email protected]>
Date:   2017-12-06T09:17:36Z

    [SPARK-22696][SQL] objects functions should not use unneeded global 
variables

commit a33bd995524d82af514594cefc66dbebf2d559f0
Author: Marco Gaido <[email protected]>
Date:   2017-12-06T10:13:52Z

    Merge branch 'master' of github.com:apache/spark into SPARK-22696

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to