kkhatua commented on a change in pull request #1531: DRILL-5571: Cancel running
query from its Web UI
URL: https://github.com/apache/drill/pull/1531#discussion_r232718757
##########
File path: exec/java-exec/src/main/resources/rest/profile/profile.ftl
##########
@@ -171,7 +188,30 @@ table.sortable thead .sorting_desc { background-image:
url("/static/img/black-de
<#assign queued = queueName != "" && queueName != "-" />
<div class="page-header"></div>
- <h3>Query Profile : <span
style='font-size:85%'>${model.getQueryId()}</span></h3>
+ <h3>Query Profile: <span style='font-size:85%'>${model.getQueryId()}</span>
+ <#if model.getQueryStateDisplayName() == "Running" ||
model.getQueryStateDisplayName() == "Planning">
Review comment:
I believe a QueryId is not created during STARTING. Will need to check for
other states... as I'm not sure what PREPARING does
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services