[
https://issues.apache.org/jira/browse/DRILL-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934370#comment-14934370
]
ASF GitHub Bot commented on DRILL-2961:
---------------------------------------
Github user dsbos commented on the pull request:
https://github.com/apache/drill/pull/71#issuecomment-143905747
This has been merged (commits 1dcf6cfb0d52435bcc7d1f4eada48fc0ce366dc4 and
a3ec52a721860a966dfa351f719458a200b27cbf).
> 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.2.patch.txt,
> DRILL-2961.1Prep.3.patch.txt, DRILL-2961.1Prep.4.patch.txt,
> DRILL-2961.2Core.2.patch.txt, DRILL-2961.2Core.3.patch.txt,
> DRILL-2961.2Core.4.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)