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

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_r45233316
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultHandler.java
 ---
    @@ -76,6 +77,24 @@
     
       /**
        * Maps internal low-level API protocol to {@link 
UserResultsListener}-level API protocol.
    +   * handles query warning messages
    +   */
    +  public void warningArrived( ByteBuf pBody ) throws RpcException {
    +    //parse query warning out of RPCBus
    +    final QueryWarning queryWarning = RpcBus.get( pBody, 
QueryWarning.PARSER );
    +    final QueryId queryId = queryWarning.getQueryId();
    +    final UserResultsListener resultsListener = 
newUserResultsListener(queryId);
    +
    +    try {
    +      logger.trace("QRH Warning Arrived: {}", queryWarning.toString());
    +      resultsListener.warningsArrived(queryWarning);
    +    } catch ( Exception e ) {
    --- End diff --
    
    spacing


> 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)

Reply via email to