[ 
https://issues.apache.org/jira/browse/CALCITE-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated CALCITE-107:
--------------------------------
    Summary: Implement queries using an interpreter, as an alternative to code 
generation & compilation  (was: Implement ENUMERABLE convention queries using 
an interpreter, as an alternative to code generation & compilation)

> Implement queries using an interpreter, as an alternative to code generation 
> & compilation
> ------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-107
>                 URL: https://issues.apache.org/jira/browse/CALCITE-107
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: GitHub Import
>              Labels: github-import
>
> For small, quick queries, the effort of generating code and compiling using 
> janino is not justified. For these queries an interpreter would be quicker.
> We could use the same linq4j methods (e.g. groupBy) but the lambdas that 
> implement expressions would be interpreted. Linq4j's 
> AbstractNode.evaluate(Evaluator) is probably the way to go, but that method 
> needs some work.
> To be clear, this change would not remove the code-generation option. It 
> would just be another alternative.
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/julianhyde/optiq/issues/107
> Created by: [julianhyde|https://github.com/julianhyde]
> Labels: enhancement, 
> Created at: Fri Dec 20 20:07:11 CET 2013
> State: open



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to