drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Barclay" <dbarc...@maprtech.com>
Subject Re: Review Request 35236: DRILL-3198: Fix: DatabaseMetaData.getTypeInfo(...), etc., return null.
Date Tue, 09 Jun 2015 06:38:31 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated June 9, 2015, 6:38 a.m.)

Review request for drill, Mehant Baid and Parth Chandra.

Bugs: DRILL-3198

Repository: drill-git


Fixed DatabaseMetaData.getTypeInfo(...) and similar methods enough to not return
null.  (Each method now returns a ResultSet representing a result set with zero
rows, though not with JDBC-specified columns.)
- Changed utility method getEmptyResult().
- Added basic test methods.
- Added interface DrillDatabaseMetaData (for place to document current
  Drill-specific behavior).
- Added Javadoc for current behavior.

Diffs (updated)

  exec/jdbc/src/main/java/org/apache/drill/jdbc/DrillDatabaseMetaData.java 4b2d694 
  exec/jdbc/src/main/java/org/apache/drill/jdbc/DrillResultSet.java 2e3d49f 
  exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillDatabaseMetaDataImpl.java PRE-CREATION

  exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/MetaImpl.java PRE-CREATION 
  exec/jdbc/src/test/java/org/apache/drill/jdbc/DatabaseMetaDataTest.java 886f974 

Diff: https://reviews.apache.org/r/35236/diff/


Ran new specific tests.

Ran existing tests; no new failures.


Daniel Barclay

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message