Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 250A8200CBF for ; Sat, 24 Jun 2017 02:34:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 23E83160BF2; Sat, 24 Jun 2017 00:34:50 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5E3A6160BE5 for ; Sat, 24 Jun 2017 02:34:49 +0200 (CEST) Received: (qmail 94034 invoked by uid 500); 24 Jun 2017 00:34:48 -0000 Mailing-List: contact dev-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list dev@drill.apache.org Received: (qmail 94014 invoked by uid 99); 24 Jun 2017 00:34:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jun 2017 00:34:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0BC69DFAEE; Sat, 24 Jun 2017 00:34:48 +0000 (UTC) From: kkhatua To: dev@drill.apache.org Reply-To: dev@drill.apache.org References: In-Reply-To: Subject: [GitHub] drill pull request #858: DRILL-3640: Support JDBC Statement.setQueryTimeout(... Content-Type: text/plain Message-Id: <20170624003448.0BC69DFAEE@git1-us-west.apache.org> Date: Sat, 24 Jun 2017 00:34:48 +0000 (UTC) archived-at: Sat, 24 Jun 2017 00:34:50 -0000 Github user kkhatua commented on a diff in the pull request: https://github.com/apache/drill/pull/858#discussion_r123865562 --- Diff: exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillStatementImpl.java --- @@ -204,7 +276,7 @@ public boolean isClosed() { @Override public int getMaxFieldSize() throws SQLException { - throwIfClosed(); + throwIfTimedOutOrClosed(); --- End diff -- TimeoutException is now thrown only for execute and data fetch operations. --- 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 infrastructure@apache.org or file a JIRA ticket with INFRA. ---