[ https://issues.apache.org/jira/browse/DRILL-3640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312303#comment-16312303
]
ASF GitHub Bot commented on DRILL-3640:
---------------------------------------
Github user kkhatua commented on the issue:
https://github.com/apache/drill/pull/1024
Ready for a final review.
All unit tests, with the exception of `PreparedStatementTest.testServerTriggeredQueryTimeout`
. The test is being ignored because the timed pause injection is not being honoured for a
PreparedStatement, though it is honoured for a regular Statement. In actual dev/functional
testing, however, the timeout works, which makes me believe there is a limitation with the
test framework injecting pauses for Prepared Statement.
> Drill JDBC driver support Statement.setQueryTimeout(int)
> --------------------------------------------------------
>
> Key: DRILL-3640
> URL: https://issues.apache.org/jira/browse/DRILL-3640
> Project: Apache Drill
> Issue Type: Improvement
> Components: Client - JDBC
> Affects Versions: 1.2.0
> Reporter: Chun Chang
> Assignee: Kunal Khatua
> Fix For: 1.13.0
>
>
> It would be nice if we have this implemented. Run away queries can be automatically canceled
by setting the timeout.
> java.sql.SQLFeatureNotSupportedException: Setting network timeout is not supported.
> at org.apache.drill.jdbc.impl.DrillStatementImpl.setQueryTimeout(DrillStatementImpl.java:152)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
|