GitHub user bersprockets opened a pull request:

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

    [SPARK-24043][SQL] Interpreted Predicate should initialize nondeterministic 
expressions

    ## What changes were proposed in this pull request?
    
    When creating an InterpretedPredicate instance, initialize any 
Nondeterministic expressions in the expression tree to avoid 
java.lang.IllegalArgumentException on later call to eval().
    
    ## How was this patch tested?
    
    - sbt SQL tests
    - python SQL tests
    - new unit test


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

    $ git pull https://github.com/bersprockets/spark interpretedpredicate

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

    https://github.com/apache/spark/pull/21144.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 #21144
    
----
commit 43791acd9458c539c7008d1b6aa670f3b9965758
Author: Bruce Robbins <bersprockets@...>
Date:   2018-04-21T23:37:32Z

    Initial commit

commit 525bc1a475c5007830eb2e35c30f05bafa600cdd
Author: Bruce Robbins <bersprockets@...>
Date:   2018-04-23T02:12:10Z

    Use expression's foreach

commit 46972f7ce2123d7ebda23daad9362650532ca59e
Author: Bruce Robbins <bersprockets@...>
Date:   2018-04-24T14:35:50Z

    Call base class's initialize as well

----


---

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

Reply via email to