James Turton created DRILL-8219: ----------------------------------- Summary: 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 Fix For: 2.0.0
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)