Hi Tolga,

There is currently no such mechanism in C++. In Java you can set timeout
for query.
Here is the ticket to implement this feature in C++ [1].

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

Best Regards,
Igor

On Thu, May 18, 2017 at 4:05 PM, Tolga HOŞGÖR <[email protected]> wrote:

> Hello,
>
> What is the normal way to abort a statistical analysis SQL query that
> takes a long time while quitting the application while using ignite C++
> client?
>
> - Destructing the cache seems to be causing a fault.
> - Destructing the grid looks good enough but throws some exceptions in JVM
> side so it may not be the right way to do it I think.
> - Sending a custom signal does not seem to interrupt the query.
>

Reply via email to