[
https://issues.apache.org/jira/browse/DRILL-6661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16632615#comment-16632615
]
Kunal Khatua edited comment on DRILL-6661 at 9/28/18 10:50 PM:
---------------------------------------------------------------
[~adityaar] there is a JDBC `Statement.setQueryTimeout(int timeInSeconds)` that
does this. Any JDBC application should be able to do that.
DRILL-3640 introduced this in 1.13.0
was (Author: kkhatua):
[~adityaar] there is a JDBC `Statement.setQueryTimeout(int timeInSeconds)` that
does this. Any JDBC application should be able to do that.
> Need a configurable parameter to stop Long running queries
> ----------------------------------------------------------
>
> Key: DRILL-6661
> URL: https://issues.apache.org/jira/browse/DRILL-6661
> Project: Apache Drill
> Issue Type: Improvement
> Components: Execution - Monitoring
> Affects Versions: 1.13.0
> Reporter: Aditya Allamraju
> Priority: Major
>
> I am looking for a way to stop any long running queries that run beyond a
> certain time.
> This is not to be confused with queue timeout which does not trigger if the
> query has started executing. Other database vendors do this via resource
> management or a simple timeout.
> Currently, the default behavior is to allow any query in execution to
> continue till arbitrarily large amount of time until completion.
> There is a genuine need for this case. For instance, i want to stop queries
> running beyond 15mins.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)