GitHub user gengliangwang opened a pull request:

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

    [SPARK-22263][SQL]Refactor deterministic as lazy value

    ## What changes were proposed in this pull request?
    
    The method `deterministic` is frequently called in optimizer.
    Refactor `deterministic` as lazy value, in order to avoid redundant 
computations.
    
    ## How was this patch tested?
    
    Unit test


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

    $ git pull https://github.com/gengliangwang/spark deterministicAsLazyVal

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

    https://github.com/apache/spark/pull/19478.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 #19478
    
----
commit bdeea55e607ad16d292efeb4059249918a6961c1
Author: Wang Gengliang <[email protected]>
Date:   2017-10-12T06:00:09Z

    make deterministic lazy value to avoid redundant computation

----


---

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

Reply via email to