You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Ph Tham <np...@gmail.com> on 2019/06/21 15:41:12 UTC

Canceling a running query on ignite

Hello All,

When we run a complex SQL query on ignite cluster from a client, not clear on what is expected? Does it run forever or can we specify a timeout? Is there a way it can be canceled so that it does not bring the server down?

Thanks

Re: Canceling a running query on ignite

Posted by Павлухин Иван <vo...@gmail.com>.
Hi,

How do you execute your SQL queries? Java API SqlFieldsQuery has a
setTimeout method. Also there is a QueryCursor.cancel method.

Also KILL query SQL command [1] is targeted for 2.8.

[1] https://issues.apache.org/jira/browse/IGNITE-11564

пт, 21 июн. 2019 г. в 18:41, Ph Tham <np...@gmail.com>:
>
> Hello All,
>
> When we run a complex SQL query on ignite cluster from a client, not clear on what is expected? Does it run forever or can we specify a timeout? Is there a way it can be canceled so that it does not bring the server down?
>
> Thanks



-- 
Best regards,
Ivan Pavlukhin