GitHub user kkhatua opened a pull request: https://github.com/apache/drill/pull/858
DRILL-3640: Support JDBC Statement.setQueryTimeout(int) Allow for queries to be cancelled if they don't complete within the stipulated time. Tests added to test different query timeout scenarios. _Note:_ We submit a timeout-managing task that sleeps for the stipulated period before trying to cancel the query (JDBC Statement). It might be worth having a similar feature as a System/Session variable so that the same can be achieved via SQLLine or REST APIs, but is beyond the scope of this JIRA's PR. You can merge this pull request into a Git repository by running: $ git pull https://github.com/kkhatua/drill DRILL-3640 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/drill/pull/858.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #858 ---- commit e7a1d36891342e6c418f3dc85253cf39eceb928d Author: Kunal Khatua <kkha...@maprtech.com> Date: 2017-06-21T01:45:08Z DRILL-3640: Support JDBC Statement.setQueryTimeout(int) Allow for queries to be cancelled if they don't complete within the stipulated time. Tests added to test different query timeout scenarios. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---