GitHub user kiszk opened a pull request:

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

    [SPARK-23546][SQL] Refactor non-stateful methods/values in CodegenContext

    ## What changes were proposed in this pull request?
    
    A current `CodegenContext` class has immutable value or method without 
mutable state, too.
    This refactoring moves them to `CodeGenerator` object class which can be 
accessed from anywhere without an instantiated `CodegenContext` in the program.
    
    Some methods that very frequently used (e.g. `javaType()`) are not 
refactored yet.
    
    
    ## How was this patch tested?
    
    Existing tests

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kiszk/spark SPARK-23546

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

    https://github.com/apache/spark/pull/20700.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 #20700
    
----
commit 0b2b381bc249ed08b3bf7785158b02352c999ba2
Author: Kazuaki Ishizaki <ishizaki@...>
Date:   2018-03-01T10:47:13Z

    initial commit

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to