Fwd: how to set SQL timeout for the cluster?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: how to set SQL timeout for the cluster?

dsetrakyan
Forwarding to the dev list.

Can anyone comment on why we do not have a default query timeout? This
should be very simple to add.

D.

---------- Forwarded message ----------
From: afedotov <[hidden email]>
Date: Thu, Dec 14, 2017 at 10:12 AM
Subject: Re: how to set SQL timeout for the cluster?
To: [hidden email]


Hi,

For now, it's possible to set timeout only on the query based level, i.e.
setTimeout().
You could create a utility factory method for the Query instances that would
set up the required timeout and use it throughout the code.

Kind regards,
Alex




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: how to set SQL timeout for the cluster?

Valentin Kulichenko
Dmitry,

There is a ticket for this enhancement:
https://issues.apache.org/jira/browse/IGNITE-7285

-Val

On Sat, Jan 13, 2018 at 6:16 PM, Dmitriy Setrakyan <[hidden email]>
wrote:

> Forwarding to the dev list.
>
> Can anyone comment on why we do not have a default query timeout? This
> should be very simple to add.
>
> D.
>
> ---------- Forwarded message ----------
> From: afedotov <[hidden email]>
> Date: Thu, Dec 14, 2017 at 10:12 AM
> Subject: Re: how to set SQL timeout for the cluster?
> To: [hidden email]
>
>
> Hi,
>
> For now, it's possible to set timeout only on the query based level, i.e.
> setTimeout().
> You could create a utility factory method for the Query instances that
> would
> set up the required timeout and use it throughout the code.
>
> Kind regards,
> Alex
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>