You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Igor Seliverstov (Jira)" <ji...@apache.org> on 2020/01/22 12:00:25 UTC

[jira] [Created] (IGNITE-12566) Calcite integration. Expressions evaluation.

Igor Seliverstov created IGNITE-12566:
-----------------------------------------

             Summary: Calcite integration. Expressions evaluation.
                 Key: IGNITE-12566
                 URL: https://issues.apache.org/jira/browse/IGNITE-12566
             Project: Ignite
          Issue Type: Task
            Reporter: Igor Seliverstov


Currently we use a part of Calcite "Bindables" to evaluate expressions at the execution time. Using it we 
 * lose a control on how expressions are evaluated
 * cannot implement several important optimizations, like "keepBinary"
 * can use only Object[] as a row, which causes a lot of array copy operations and unnecessary allocations at the execution time
 * suffer from delays, which go from expressions compilation process when it's more efficient to start from interpretation and compile an expression on repeatable execution only

We need to implement expressions interpreter and our own expression compiler taking Ignite specifics in consideration.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)