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

Konstantin Orlov updated IGNITE-23665:
--------------------------------------
    Fix Version/s: 3.0

> 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
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to