Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRILL-3566: Fix: PreparedStatement.executeQuery() got ClassCastExcept…
…ion. Main: Restored DrillResultSetImpl(...)'s statement parameter from overly restrictive DrillStatementImpl to AvaticaStatement and removed caller cast that was throwing. (Relatedly, adjusted getStatement() and moved internal casting from statement to connection.) Added basic test of querying via PreparedStatement. [PreparedStatementTest] Added some case test of statement-creation methods. [ConnectionTest] Removed now-unneeded DrillPrepareResult cast. Eliminated redundant getConnection() and getClient calls, intermediate variables, etc. Fixed comment error. this closes #143
- Loading branch information
Showing
6 changed files
with
248 additions
and
27 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
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
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
Oops, something went wrong.