Konstantin Orlov created IGNITE-28245:
-----------------------------------------
Summary: Sql. Improve caching of execution tree
Key: IGNITE-28245
URL: https://issues.apache.org/jira/browse/IGNITE-28245
Project: Ignite
Issue Type: Improvement
Components: sql ai3
Affects Versions: 3.1
Reporter: Konstantin Orlov
At the moment, we cache only physical tree representing the fragment. In order
to convert physical tree to execution tree, we need to collect and resolve
dependencies, rebuild execution tree, re-create all necessary expressions.
We can improve this by caching an execution tree instead.
I can think of two approaches to address this problem: one is to introduce
method {{Node<RowT> copy(ExecutionContext<RowT> context)}} on
{{org.apache.ignite.internal.sql.engine.exec.rel.Node}}; another option is a
complete refactoring that decouples execution nodes from execution state.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)