[
https://issues.apache.org/jira/browse/IGNITE-12991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yury Gerzhedovich updated IGNITE-12991:
---------------------------------------
Description:
Users should have the ability to cancel a query on planning or execution stages.
Firstly we should have API to retrieve the identifier of the query and API to
cancel a query by the identifier.
For cancel planning see {{AbstractRelOptPlanner.java:91}}, here {{CancelFlag}}
is used to cancel planning loop. We need to pass it into a newly created
context and bind its state with {{PlanningContext#queryCancel}} to break
possible infinite planning loop. See also {{PlanningContext#unwrap}}
was:see {{AbstractRelOptPlanner.java:91}}, here {{CancelFlag}} is used to
cancel planning loop. We need to pass it into a newly created context and bind
its state with {{PlanningContext#queryCancel}} to break possible infinite
planning loop. See also {{PlanningContext#unwrap}}
> Calcite integration. Query Cancellation
> ---------------------------------------
>
> Key: IGNITE-12991
> URL: https://issues.apache.org/jira/browse/IGNITE-12991
> Project: Ignite
> Issue Type: Improvement
> Reporter: Igor Seliverstov
> Assignee: Yury Gerzhedovich
> Priority: Minor
>
> Users should have the ability to cancel a query on planning or execution
> stages.
> Firstly we should have API to retrieve the identifier of the query and API to
> cancel a query by the identifier.
> For cancel planning see {{AbstractRelOptPlanner.java:91}}, here
> {{CancelFlag}} is used to cancel planning loop. We need to pass it into a
> newly created context and bind its state with {{PlanningContext#queryCancel}}
> to break possible infinite planning loop. See also {{PlanningContext#unwrap}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)