drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sudheeshkatkam <...@git.apache.org>
Subject [GitHub] drill pull request #719: DRILL-5172: Display elapsed time for queries in the...
Date Wed, 04 Jan 2017 18:19:07 GMT
Github user sudheeshkatkam commented on a diff in the pull request:

    https://github.com/apache/drill/pull/719#discussion_r94635283
  
    --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/ProfileResources.java
---
    @@ -72,16 +72,30 @@
         public static final SimpleDateFormat format = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss");
     
         private String queryId;
    +    private long startTime;
    +    private long endTime;
         private Date time;
         private String location;
         private String foreman;
         private String query;
         private String state;
         private String user;
     
    -    public ProfileInfo(String queryId, long time, String foreman, String query, String
state, String user) {
    +    public ProfileInfo(String queryId, long startTime, String foreman, String query,
String state, String user) {
           this.queryId = queryId;
    -      this.time = new Date(time);
    +      this.startTime = startTime;
    --- End diff --
    
    Invoke the other ctor from here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message