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

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

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

    https://github.com/apache/drill/pull/812#discussion_r110883871
  
    --- 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 --
    
    Deleted


> 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
>         Attachments: fix.png, issue.png, sorting_issue.png
>
>
> 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)

Reply via email to