Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AD8FF200BFA for ; Thu, 12 Jan 2017 11:43:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AC36C160B55; Thu, 12 Jan 2017 10:43:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 27A05160B2D for ; Thu, 12 Jan 2017 11:43:53 +0100 (CET) Received: (qmail 58091 invoked by uid 500); 12 Jan 2017 10:43:52 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 58063 invoked by uid 99); 12 Jan 2017 10:43:52 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2017 10:43:52 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2961C2C029B for ; Thu, 12 Jan 2017 10:43:52 +0000 (UTC) Date: Thu, 12 Jan 2017 10:43:52 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-5172) Display elapsed time for queries in the UI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 12 Jan 2017 10:43:53 -0000 [ https://issues.apache.org/jira/browse/DRILL-5172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15820707#comment-15820707 ] ASF GitHub Bot commented on DRILL-5172: --------------------------------------- Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/721#discussion_r95764142 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/ProfileWrapper.java --- @@ -114,6 +114,10 @@ public QueryProfile getProfile() { return profile; } + public String getProfileDuration() { + return ProfileResources.getPrettyDuration(profile.getStart(),profile.getEnd()); --- End diff -- Please add space between parameters -> `profile.getStart(), profile.getEnd()` > Display elapsed time for queries in the UI > ------------------------------------------ > > Key: DRILL-5172 > URL: https://issues.apache.org/jira/browse/DRILL-5172 > Project: Apache Drill > Issue Type: Improvement > Components: Web Server > Affects Versions: 1.9.0 > Reporter: Kunal Khatua > Assignee: Kunal Khatua > Priority: Minor > Fix For: 1.10.0 > > Original Estimate: 24h > Remaining Estimate: 24h > > Currently, the Web UI does not display the runtime for a query either in the list of queries or the query profile page itself. -- This message was sent by Atlassian JIRA (v6.3.4#6332)