GitHub user davies opened a pull request:
https://github.com/apache/spark/pull/6479
[WIP] Use Janino to compile SQL expressions into bytecode
In order to reduce the overhead of codegen, this PR switch to use Janino to
compile SQL expressions into bytecode.
After this, the time used to compile a SQL expression is decreased from
100ms to 5ms, which is necessary to turn on codegen for general workload, also
tests.
Still Working on fix the tests.
cc @rxin
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/davies/spark janino
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6479.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 #6479
----
commit f7d66cf2e45d52f2132201ea6ac737220464afe9
Author: Davies Liu <[email protected]>
Date: 2015-05-27T21:19:34Z
use template based string for codegen
commit f2629cd42e58ebb029a5c8ce69ac4f84a8632d0b
Author: Davies Liu <[email protected]>
Date: 2015-05-27T21:21:29Z
Merge branch 'master' of github.com:apache/spark into janino
commit 03660f3fc14cc62647cebde76beb680d8e551afe
Author: Davies Liu <[email protected]>
Date: 2015-05-29T00:07:33Z
WIP: use Janino to compile Java source
----
---
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]