Github user kkhatua commented on a diff in the pull request: https://github.com/apache/drill/pull/1024#discussion_r149472806 --- Diff: exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillPreparedStatementImpl.java --- @@ -61,8 +65,14 @@ protected DrillPreparedStatementImpl(DrillConnectionImpl connection, if (preparedStatementHandle != null) { ((DrillColumnMetaDataList) signature.columns).updateColumnMetaData(preparedStatementHandle.getColumnsList()); } + //Implicit query timeout + this.queryTimeoutInSeconds = 0; + this.elapsedTimer = Stopwatch.createUnstarted(); --- End diff -- I thought the Statement and Cursor had a 1:1 relationship, so they can share the timer. I guess for a PreparedStatement I cannot make that assumption. Will fix this. +1
---