[jira] [Created] (IGNITE-12354) QueryTimeoutException need to be added to differentiate query is cancelled due to timeout

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-12354) QueryTimeoutException need to be added to differentiate query is cancelled due to timeout

Anton Vinogradov (Jira)
Saikat Maitra created IGNITE-12354:
--------------------------------------

             Summary: QueryTimeoutException need to be added to differentiate query is cancelled due to timeout
                 Key: IGNITE-12354
                 URL: https://issues.apache.org/jira/browse/IGNITE-12354
             Project: Ignite
          Issue Type: Improvement
          Components: platforms, sql
    Affects Versions: 2.3
            Reporter: Saikat Maitra
             Fix For: 2.8


QueryTimeoutException need to be added to differentiate query is cancelled due to timeout.

 

As of today when Sql query get executed and does not return results in specified timeout we throw exception as QueryCancellationException. There is no way to differentiate if Sql query is cancelled by user manually or it is cancelled due to timeout.

It will be better if we can separate exception with error message thrown when Sql query is cancelled due to timeout reasons.

 

It is related to https://issues.apache.org/jira/browse/IGNITE-7285

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)