Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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
Labels: enhancement,
Created at: Fri Dec 20 20:07:11 CET 2013
State: open
Attachments
Issue Links
- depends upon
-
CALCITE-418 Finish implementation of Interpreter
- Open
- is related to
-
CALCITE-558 Add BINDABLE convention and make it the default convention for query root
- Open