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-5213) Prepared statement for actual query is missing the query text
Date Tue, 11 Apr 2017 10:16:41 GMT

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

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

Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/812#discussion_r110861166
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
---
    @@ -540,6 +539,9 @@ private void runPreparedStatement(final PreparedStatementHandle preparedStatemen
         final String sql = serverState.getSqlQuery();
         logger.info("Prepared statement query for QueryId {} : {}", queryId, sql);
         runSQL(sql);
    +
    +    // keep a query text of the preparedStatement for the queryManager
    +    queryText = sql;
    --- End diff --
    
    Temporary variable can be removed.


> Prepared statement for actual query is missing the query text
> -------------------------------------------------------------
>
>                 Key: DRILL-5213
>                 URL: https://issues.apache.org/jira/browse/DRILL-5213
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: 1.10.0
>            Reporter: Krystal
>            Assignee: Vitalii Diravka
>
> Prepared statement for actual query is missing the query text in the query's profile.
 As a result, there is no link for the query profile from the UI.  



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message