drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4015) Update DrillClient and JDBC driver to expose warnings provided via RPC layer
Date Wed, 18 Nov 2015 17:47:11 GMT

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

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

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

    https://github.com/apache/drill/pull/263#discussion_r45233366
  
    --- Diff: exec/jdbc/src/main/java/org/apache/drill/jdbc/impl/DrillResultSetImpl.java ---
    @@ -178,6 +180,16 @@ public boolean next() throws SQLException {
       @Override
       public void close() {
         // Note:  No already-closed exception for close().
    +    try {
    +      int cnt = 1;
    +      SQLWarning warn = getWarnings();
    +      while (warn != null) {
    +        System.out.println("WARNING-" + cnt++ + ": " +  warn.getMessage());
    --- End diff --
    
    Is this sysout going to be removed?


> Update DrillClient and JDBC driver to expose warnings provided via RPC layer
> ----------------------------------------------------------------------------
>
>                 Key: DRILL-4015
>                 URL: https://issues.apache.org/jira/browse/DRILL-4015
>             Project: Apache Drill
>          Issue Type: Sub-task
>          Components: Client - JDBC, Execution - RPC
>            Reporter: Jacques Nadeau
>            Assignee: Abhijit Pol
>             Fix For: 1.4.0
>
>




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

Mime
View raw message