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

Jesus Camacho Rodriguez commented on CALCITE-2733:
--------------------------------------------------

PR in https://github.com/apache/calcite/pull/962

Code checks the version to avoid falling into {{java.lang.AbstractMethodError}} 
if jdbc version is < 4.1.

> Use catalog and schema from JDBC connection string to retrieve tables if 
> specified
> ----------------------------------------------------------------------------------
>
>                 Key: CALCITE-2733
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2733
>             Project: Calcite
>          Issue Type: Improvement
>          Components: jdbc-adapter
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>            Priority: Major
>
> From JDBC 4.1, catalog and schema can be retrieved from the connection 
> object. When we retrieve the table objects using the JDBC connection, I 
> believe we could try to get catalog and schema from connection object if they 
> have not been specified by user. If they are not in the connection object 
> either, null will be passed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to