You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "James Turton (Jira)" <ji...@apache.org> on 2022/05/11 10:12:00 UTC

[jira] [Closed] (DRILL-8219) Handle null catalog names returned by DB2 in storage-jdbc

     [ https://issues.apache.org/jira/browse/DRILL-8219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Turton closed DRILL-8219.
-------------------------------
    Resolution: Fixed

> Handle null catalog names returned by DB2 in storage-jdbc
> ---------------------------------------------------------
>
>                 Key: DRILL-8219
>                 URL: https://issues.apache.org/jira/browse/DRILL-8219
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - JDBC
>    Affects Versions: 1.20.0
>            Reporter: James Turton
>            Assignee: James Turton
>            Priority: Major
>             Fix For: 1.20.1
>
>
> DB2 is another DBMS in which clients must connect to a named database, not just to the DBMS. A JDBC connection that does the same will receive a single record containing a null string from a call to Connection::getMetaData::getCatalogs. We need to ignore such a record in order to query DB2 correctly.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)