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 35417: DRILL-3285: Part 5--Split old hacky next() into separate methods.
Date Thu, 18 Jun 2015 06:37:26 GMT

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

(Updated June 18, 2015, 6:37 a.m.)

Review request for drill and abdelhakim deneche.

Bugs: DRILL-3285

Repository: drill-git


Split the original public next() method (which was hacked to handle an extra,
initial call to read the schema batch) into:
- new loadInitialSchema() (for handling the call for the schema)
- modified next() (for handling normal calls from ResultSet.next())
- new private nextRowInternally() (for common code)

Pulled invariant afterFirstBatch up out of bogus-batch loop.

Diffs (updated)

  exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillCursor.java PRE-CREATION 
  exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillResultSetImpl.java cb6bd1d 

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


Ran tests (all parts together); no new errors.


Daniel Barclay

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