GitHub user gatorsmile opened a pull request:

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

    [SPARK-21871][SQL] Fix infinite loop when bytecode size is larger than 
spark.sql.codegen.hugeMethodLimit

    ## What changes were proposed in this pull request?
    When exceeding `spark.sql.codegen.hugeMethodLimit`, the runtime fallbacks 
to the Volcano iterator solution. This could cause an infinite loop when 
`FileSourceScanExec` can use the columnar batch to read the data. This PR is to 
fix the issue.
    
    ## How was this patch tested?
    Added a test

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

    $ git pull https://github.com/gatorsmile/spark testt

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

    https://github.com/apache/spark/pull/19440.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 #19440
    
----
commit 6e2f53238856942e40a3301108f37a3a5cc17bca
Author: gatorsmile <gatorsm...@gmail.com>
Date:   2017-10-05T18:20:48Z

    fix.

----


---

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

Reply via email to