[ 
https://issues.apache.org/jira/browse/DRILL-5091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15730666#comment-15730666
 ] 

ASF GitHub Bot commented on DRILL-5091:
---------------------------------------

Github user ppadma commented on a diff in the pull request:

    https://github.com/apache/drill/pull/676#discussion_r91421707
  
    --- Diff: 
exec/jdbc/src/test/java/org/apache/drill/jdbc/test/Drill2769UnsupportedReportsUseSqlExceptionTest.java
 ---
    @@ -397,10 +419,19 @@ public void testPlainStatementMethodsThrowRight() {
           this.factoryConnection = factoryConnection;
         }
     
    +    @Override
         protected PreparedStatement getJdbcObject() throws SQLException {
           return factoryConnection.prepareStatement("VALUES 1");
         }
     
    +    @Override
    +    protected boolean isOkaySpecialCaseException(Method method,
    +                                                 Throwable cause) {
    +       // New Java 8 method not supported by Avatica
    +
    --- End diff --
    
    remove the extra line


> JDBC unit test fail on Java 8
> -----------------------------
>
>                 Key: DRILL-5091
>                 URL: https://issues.apache.org/jira/browse/DRILL-5091
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>         Environment: Java 8
>            Reporter: Paul Rogers
>            Assignee: Paul Rogers
>
> Run the {{TestJDBCQuery}} unit tests. They will fail with errors relating to 
> the default name space.
> The problem is due to a failure (that is ignored, DRILL-5090) to set up the 
> test DFS name space.
> The "dfs_test" storage plugin is not found in the plugin registry, resulting 
> in a null object and NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to