Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85DB919D40 for ; Thu, 7 Apr 2016 18:35:27 +0000 (UTC) Received: (qmail 40595 invoked by uid 500); 7 Apr 2016 18:35:26 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 40427 invoked by uid 500); 7 Apr 2016 18:35:26 -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 39894 invoked by uid 99); 7 Apr 2016 18:35:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 18:35:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A56F22C1F71 for ; Thu, 7 Apr 2016 18:35:25 +0000 (UTC) Date: Thu, 7 Apr 2016 18:35:25 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4592) Explain plan statement should show plan in WebUi MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-4592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15230786#comment-15230786 ] ASF GitHub Bot commented on DRILL-4592: --------------------------------------- GitHub user jinfengni opened a pull request: https://github.com/apache/drill/pull/471 DRILL-4592: Explain plan statement should show plan in WebUI @amansinha100 , could you review this small code patch? Thanks. For now, there is lack of a way to add unit test for all WebUI related functionality. But I verified on my machine that the patch did show the plan in WebUI. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jinfengni/incubator-drill DRILL-4592 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/drill/pull/471.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #471 ---- commit 6345fd148ad7563841df93a18cf60e1ceab1464b Author: Jinfeng Ni Date: 2016-04-07T18:24:04Z DRILL-4592: Explain plan statement should show plan in WebUI ---- > Explain plan statement should show plan in WebUi > ------------------------------------------------ > > Key: DRILL-4592 > URL: https://issues.apache.org/jira/browse/DRILL-4592 > Project: Apache Drill > Issue Type: Bug > Reporter: Jinfeng Ni > Assignee: Jinfeng Ni > Fix For: 1.7.0 > > > When explain plan statement is run, the physical plan is generated and returned. However, the plan is not put in the profile and does not show up in the physical plan / visual plan tab in WebUI. If someone wants to look at the visual plan, the only way is to execute the query, which sometime requires long execution time. This makes a bit hard to analyze the plan for a problematic query. > Similar as regular query and CTAS statement, we should put the plan for EXPLAIN PLAN statement, and display properly in WebUi. -- This message was sent by Atlassian JIRA (v6.3.4#6332)