You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrey Mashenkov (Jira)" <ji...@apache.org> on 2022/09/23 13:46:00 UTC
[jira] [Updated] (IGNITE-17746) Fix multistatement query execution flow.
[ https://issues.apache.org/jira/browse/IGNITE-17746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Mashenkov updated IGNITE-17746:
--------------------------------------
Description:
As for now SqlQueryProcessor.query0 methods run statements in parallel.
Let's make query statement execution consequent.
Also, statement cancellation may cause unexpected behaviour:
* The {{query0}} method returns list of futures for each statement in multi statement query,
cancellation of a statement does't affect other statements.
* Failed statement doesn't cancel other statements. Thus, following statements may return wrong results in this case.
was:
As for now SqlQueryProcessor.query0 methods run statements in parallel.
Let's make query statement execution consequent.
Also, statement cancellation may cause unexpected behaviour.
The {{query0}} method returns list of futures for each statement in multi statement query,
cancellation of statement in the middle does't affects previous statements futures.
> Fix multistatement query execution flow.
> ----------------------------------------
>
> Key: IGNITE-17746
> URL: https://issues.apache.org/jira/browse/IGNITE-17746
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Andrey Mashenkov
> Priority: Major
> Labels: ignite-3, tech-debt
>
> As for now SqlQueryProcessor.query0 methods run statements in parallel.
> Let's make query statement execution consequent.
> Also, statement cancellation may cause unexpected behaviour:
> * The {{query0}} method returns list of futures for each statement in multi statement query,
> cancellation of a statement does't affect other statements.
> * Failed statement doesn't cancel other statements. Thus, following statements may return wrong results in this case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)