-
Notifications
You must be signed in to change notification settings - Fork 981
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRILL-3285: Part 5--Split old hacky next() into separate methods.
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.
- Loading branch information
Showing
2 changed files
with
84 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters