hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-6901) Explain plan doesn't show operator tree for the fetch operator
Date Sat, 12 Apr 2014 02:32:14 GMT
Xuefu Zhang created HIVE-6901:
---------------------------------

             Summary: 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


Explaining a simple select query that involves a MR phase doesn't show complete 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)

Mime
View raw message