korlov42 commented on a change in pull request #9476:
URL: https://github.com/apache/ignite/pull/9476#discussion_r744467893



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/query/QueryEngine.java
##########
@@ -36,4 +39,10 @@
      */
     List<FieldsQueryCursor<List<?>>> query(@Nullable QueryContext ctx, String 
schemaName, String qry, Object... params)
         throws IgniteSQLException;
+
+    /** */
+    Collection<? extends RunningQuery> runningQueries();

Review comment:
       If I'm not mistaken, the current approach to cancel query is to get 
instance of `RunningQuery` and invoke on it a `cancel` method. Unfortunately 
such an approach doesn't cover the case when current node doesn't run any 
fragment of the query of interest




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to