Konstantin Orlov created IGNITE-23665:
-----------------------------------------
Summary: Sql. Introduce query execution program
Key: IGNITE-23665
URL: https://issues.apache.org/jira/browse/IGNITE-23665
Project: Ignite
Issue Type: Improvement
Components: sql
Reporter: Konstantin Orlov
At the moment, every implementation of {{ExecutionPhaseHandler}}, apart of
logic dedicated to that particular case, contains and logic of transition from
current phase to next one. Beside, {{Query}} object, which supposed to be a
container enclosing state, has method {{run}} which in fact is main loop of the
FSM.
To make code cleaner, let's introduce concept of execution program. Program is
an object describing transition graph. Also, main loop of FSM execution must be
enclosed in the program. When query reaches the terminal state defined by the
program, the program execution must return a result.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)