GitHub user viirya opened a pull request:

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

    [SPARK-22124][SQL] Sample and Limit should also defer input evaluation 
under codegen

    ## What changes were proposed in this pull request?
    
    We can override `usedInputs` to claim that an operator defers input 
evaluation. `Sample` and `Limit` are two operators which should claim it but 
don't. We should do it.
    
    ## How was this patch tested?
    
    Existing tests.

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

    $ git pull https://github.com/viirya/spark-1 SPARK-22124

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

    https://github.com/apache/spark/pull/19345.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 #19345
    
----
commit 0252663f998edd1deb75e99b9a1d7ab9ec806a29
Author: Liang-Chi Hsieh <vii...@gmail.com>
Date:   2017-09-26T02:11:02Z

    Claim deferred input evaluation for Sample and Limit.

----


---

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

Reply via email to