Alima777 commented on a change in pull request #2352:
URL: https://github.com/apache/iotdb/pull/2352#discussion_r555028623



##########
File path: jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java
##########
@@ -319,10 +328,14 @@ public ResultSet executeQuery(String sql) throws 
SQLException {
     }
   }
 
-  private ResultSet executeQuerySQL(String sql) throws TException, 
SQLException {
+  private ResultSet executeQuerySQL(String sql, long timeoutInMS) throws 
TException, SQLException {
     isCancelled = false;
     TSExecuteStatementReq execReq = new TSExecuteStatementReq(sessionId, sql, 
stmtId);
     execReq.setFetchSize(fetchSize);
+    if (timeoutInMS <= 0) {

Review comment:
       Fixed




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to