Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D2172178B6 for ; Wed, 6 May 2015 20:05:00 +0000 (UTC) Received: (qmail 91884 invoked by uid 500); 6 May 2015 20:05:00 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 91853 invoked by uid 500); 6 May 2015 20:05:00 -0000 Mailing-List: contact issues-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 issues@drill.apache.org Received: (qmail 91844 invoked by uid 99); 6 May 2015 20:05:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 May 2015 20:05:00 +0000 Date: Wed, 6 May 2015 20:05:00 +0000 (UTC) From: "Daniel Barclay (Drill) (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2961) Statement.setQueryTimeout() should throw a SQLException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Barclay (Drill) updated DRILL-2961: ------------------------------------------ Attachment: DRILL-2961.2Core.1.patch.txt DRILL-2961.1Prep.1.patch.txt > Statement.setQueryTimeout() should throw a SQLException > ------------------------------------------------------- > > Key: DRILL-2961 > URL: https://issues.apache.org/jira/browse/DRILL-2961 > Project: Apache Drill > Issue Type: Bug > Components: Client - JDBC > Affects Versions: 1.0.0 > Environment: RHEL 6.4 > Reporter: Kunal Khatua > Assignee: Daniel Barclay (Drill) > Fix For: 1.0.0 > > Attachments: DRILL-2961.1Prep.1.patch.txt, DRILL-2961.2Core.1.patch.txt > > > When trying to set the timeout for a Drill Statement object, Drill does not report any SQLException which makes the developer incorrectly believe that a timeout has been set. > The operation should throw the exception: > java.sql.SQLException: Method not supported > at org.apache.drill.jdbc.DrillStatement.setQueryTimeout(DrillStatement.java) > .... -- This message was sent by Atlassian JIRA (v6.3.4#6332)