Github user kkhatua commented on the issue: https://github.com/apache/drill/pull/858 @laurentgo I'm seeing JUnit test failures with this commit.... > ConnectionTest.testPrepareStatementBasicCaseWorks:94 » ClassCast org.apache.dr... > PreparedStatementTest.testQueryMetadataInPreparedStatement:135 » ClassCast org... > PreparedStatementTest.testExecuteQueryBasicCaseWorks:100 » ClassCast org.apach... > LegacyPreparedStatementTest.testExecuteQueryBasicCaseWorks:84 » ClassCast org.... They all point to a common ClassCaseException > Drill2769UnsupportedReportsUseSqlExceptionTest.testPreparedStatementMethodsThrowRight:430 Non-SQLException exception error(s): > Failures: > - PreparedStatement.execute() threw <java.lang.ClassCastException: org.apache.drill.jdbc.impl.DrillJdbc41Factory$DrillJdbc41PreparedStatement cannot be cast to org.apache.drill.jdbc.impl.DrillStatementImpl> instead of a SQLException > - PreparedStatement.executeQuery() threw <java.lang.ClassCastException: org.apache.drill.jdbc.impl.DrillJdbc41Factory$DrillJdbc41PreparedStatement cannot be cast to org.apache.drill.jdbc.impl.DrillStatementImpl> instead of a SQLException > - PreparedStatement.executeUpdate() threw <java.lang.ClassCastException: org.apache.drill.jdbc.impl.DrillJdbc41Factory$DrillJdbc41PreparedStatement cannot be cast to org.apache.drill.jdbc.impl.DrillStatementImpl> instead of a SQLException The regular Statement.execute###() calls work fine. Any idea why I'm getting this?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---