[ 
https://issues.apache.org/jira/browse/DRILL-8009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17429947#comment-17429947
 ] 

ASF GitHub Bot commented on DRILL-8009:
---------------------------------------

luocooong commented on pull request #2333:
URL: https://github.com/apache/drill/pull/2333#issuecomment-945662754


   @rymarm Thanks for the feedback. I will check it on the local and let you 
know.


-- 
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.

To unsubscribe, e-mail: [email protected]

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


> DrillConnectionImpl#isValid() doesn't correspond JDBC API
> ---------------------------------------------------------
>
>                 Key: DRILL-8009
>                 URL: https://issues.apache.org/jira/browse/DRILL-8009
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>            Reporter: Maksym Rymar
>            Assignee: Maksym Rymar
>            Priority: Major
>
> {{DrillConnectionImpl#isValid()}} doesn't correspond [Java JDBC API 
> documentation|https://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#isValid(int)].
>  Current implementation doesn't do actual connection verify and doesn't cover 
> cases like drillbit termination and network issues.
> {{java.sql.Connection#isValid()}} (which extends {{DrillConnectionImpl}}) 
> widely used in JDBC connection pools like HikariCP and without right 
> implementation, Drill JDBC driver cannot be used with them, because 
> connections will keep alive forever.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to