You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Kunal Khatua (JIRA)" <ji...@apache.org> on 2015/05/05 19:51:02 UTC

[jira] [Created] (DRILL-2961) Statement.setQueryTimeout() should throw a SQLException

Kunal Khatua created DRILL-2961:
-----------------------------------

             Summary: 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


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)