Github user kkhatua commented on a diff in the pull request:

    https://github.com/apache/drill/pull/858#discussion_r123327737
  
    --- Diff: 
exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillStatementImpl.java ---
    @@ -159,24 +230,25 @@ public void cleanUp() {
       public int getQueryTimeout() throws AlreadyClosedSqlException
       {
         throwIfClosed();
    -    return 0;  // (No no timeout.)
    --- End diff --
    
    Interestingly, AvaticaStatement returns the timeout value that was set... 
but does not honour it! :) 
    Originally the setter would trigger a NotSupported exception and the 
explicit return was the default 0
    Now that we're able to support it, I can read Avatica's value directly. 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to