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

    https://github.com/apache/drill/pull/1021#discussion_r148963451
  
    --- Diff: exec/java-exec/src/main/resources/rest/profile/profile.ftl ---
    @@ -135,6 +135,8 @@ table.sortable thead .sorting_desc { background-image: 
url("/static/img/black-de
     
       <#assign queueName = model.getProfile().getQueueName() />
       <#assign queued = queueName != "" && queueName != "-" />
    +  <#assign queryStateDisplayName = ["Starting", "Running", "Succeeded", 
"Canceled", "Failed",
    --- End diff --
    
    Yes, I could create a common freemarker function. But if the changes are 
not made in ProfileResources.java then the REST API /profile will still show 
the query state as "COMPLETED". It won't be in sync with the UI.


---

Reply via email to