AMashenkov commented on code in PR #4660: URL: https://github.com/apache/ignite-3/pull/4660#discussion_r1824056762
########## modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/fsm/Programs.java: ########## @@ -0,0 +1,79 @@ +package org.apache.ignite.internal.sql.engine.exec.fsm; + +import java.util.List; +import org.apache.ignite.internal.sql.engine.AsyncSqlCursor; +import org.apache.ignite.internal.sql.engine.InternalSqlRow; +import org.apache.ignite.lang.ErrorGroups.Sql; +import org.apache.ignite.sql.SqlException; + +class Programs { + static final Program<AsyncSqlCursor<InternalSqlRow>> QUERY_EXECUTION = new Program<>( + "QUERY_EXECUTION", + List.of( + new Transition( + ExecutionPhase.REGISTERED, + query -> ExecutionPhase.PARSING + ), + new Transition( + ExecutionPhase.PARSING, + query -> query.parsedResult != null Review Comment: query -> query.isSingleStatement() -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org