drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudheeshkatkam <...@git.apache.org>
Subject [GitHub] drill pull request: DRILL-4015: Update DrillClient and JDBC driver...
Date Wed, 18 Nov 2015 17:46:07 GMT
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


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message