GitHub user sameeragarwal opened a pull request:

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

    [SPARK-14748][SQL] BoundReference should not set ExprCode.code to empty 
string

    ## What changes were proposed in this pull request?
    
    While generating code for `BoundReference`, for variables that have already 
been evaluated we should not set `ExprCode.code` to empty string and should 
just return the original `ExprCode`.
    
    ## How was this patch tested?
    
    Existing test should catch any issues. In particular, we should fix the 
generated code for any operator should it now start failing.

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

    $ git pull https://github.com/sameeragarwal/spark exprcode

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

    https://github.com/apache/spark/pull/12523.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 #12523
    
----
commit cb2889708f85d839e687ff6562409f34fd00baef
Author: Sameer Agarwal <[email protected]>
Date:   2016-04-20T08:03:56Z

    BoundReference should not set ExprCode.code to empty string

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to