Github user laurentgo commented on a diff in the pull request: https://github.com/apache/drill/pull/1024#discussion_r149476642 --- 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 -- not even true for a statement: you can execute multiple queries, but the previous resultset will be closed and a new cursor created...
---