Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A0EB102B7 for ; Wed, 30 Apr 2014 05:40:19 +0000 (UTC) Received: (qmail 25826 invoked by uid 500); 30 Apr 2014 05:40:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 25492 invoked by uid 500); 30 Apr 2014 05:40:16 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 25478 invoked by uid 500); 30 Apr 2014 05:40:15 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 25474 invoked by uid 99); 30 Apr 2014 05:40:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2014 05:40:15 +0000 Date: Wed, 30 Apr 2014 05:40:14 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-6901) Explain plan doesn't show operator tree for the fetch operator 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/HIVE-6901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated HIVE-6901: ------------------------------ Attachment: HIVE-6901.8.patch > Explain plan doesn't show operator tree for the fetch operator > -------------------------------------------------------------- > > Key: HIVE-6901 > URL: https://issues.apache.org/jira/browse/HIVE-6901 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.12.0 > Reporter: Xuefu Zhang > Assignee: Xuefu Zhang > Priority: Minor > Attachments: HIVE-6901.1.patch, HIVE-6901.2.patch, HIVE-6901.3.patch, HIVE-6901.4.patch, HIVE-6901.5.patch, HIVE-6901.6.patch, HIVE-6901.7.patch, HIVE-6901.8.patch, HIVE-6901.patch > > > Explaining a simple select query that involves a MR phase doesn't show processor tree for the fetch operator. > {code} > hive> explain select d from test; > OK > STAGE DEPENDENCIES: > Stage-1 is a root stage > Stage-0 is a root stage > STAGE PLANS: > Stage: Stage-1 > Map Reduce > Map Operator Tree: > ... > Stage: Stage-0 > Fetch Operator > limit: -1 > {code} > It would be nice if the operator tree is shown even if there is only one node. > Please note that in local execution, the operator tree is complete: > {code} > hive> explain select * from test; > OK > STAGE DEPENDENCIES: > Stage-0 is a root stage > STAGE PLANS: > Stage: Stage-0 > Fetch Operator > limit: -1 > Processor Tree: > TableScan > alias: test > Statistics: Num rows: 8 Data size: 34 Basic stats: COMPLETE Column stats: NONE > Select Operator > expressions: d (type: int) > outputColumnNames: _col0 > Statistics: Num rows: 8 Data size: 34 Basic stats: COMPLETE Column stats: NONE > ListSink > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)