drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasadns14 <...@git.apache.org>
Subject [GitHub] drill pull request #1021: DRILL-5923: Display name for query state
Date Sun, 05 Nov 2017 17:10:07 GMT
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.


---

Mime
View raw message