jnturton opened a new pull request, #2542:
URL: https://github.com/apache/drill/pull/2542

   # [DRILL-8219](https://issues.apache.org/jira/browse/DRILL-8219): Handle 
null catalog names returned by DB2 in storage-jdbc
   
   ## Description
   
   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.
   
   ## Documentation
   N/A
   
   ## Testing
   Install DB2 using the Docker container ibmcom/db2. Create a test schema and 
table in the existing `testdb`. Configure a new Drill JDBC storage config to 
connect to the DB2 `testdb` database. Test info schema queries and direct 
querying of the test table.
   


-- 
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: dev-unsubscr...@drill.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to