GitHub user rxin opened a pull request:

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

    [SPARK-9150][SQL] Create a trait to track code generation for expressions

    It is very hard to track which expression supports code generation or not. 
This patch removes the default gencode implementation from Expression, and 
moves the default fallback implementation into a new trait called 
CodegenFallback. Each concrete expression needs to either implement code 
generation, or mix in CodegenFallback.
    
    This makes it very easy to track which expressions have code generation 
implemented already.


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

    $ git pull https://github.com/rxin/spark codegenfallback

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

    https://github.com/apache/spark/pull/7487.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 #7487
    
----
commit 75c370f5b7068ffb0505d249750590188f3a9bd0
Author: Reynold Xin <[email protected]>
Date:   2015-07-18T06:11:52Z

    [SPARK-8240][SQL] string function: concat

commit 66bfbee81f3043fc86929ce665de2f842506c723
Author: Reynold Xin <[email protected]>
Date:   2015-07-18T06:12:34Z

    Added missing file.

commit f9dce26747959f2999764f8453313086b67f3e87
Author: Reynold Xin <[email protected]>
Date:   2015-07-18T07:10:17Z

    [SPARK-9150][SQL] Create a trait to track code generation for expressions.

----


---
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