You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by px...@apache.org on 2016/01/29 20:06:18 UTC

[16/33] hive git commit: HIVE-12709: further improve user level explain (Pengcheng Xiong, reviewed by Laljo John Pullokkaran)

http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/perf/query72.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query72.q.out b/ql/src/test/results/clientpositive/perf/query72.q.out
index 5d010c6..99e00a7 100644
--- a/ql/src/test/results/clientpositive/perf/query72.q.out
+++ b/ql/src/test/results/clientpositive/perf/query72.q.out
@@ -19,337 +19,176 @@ Reducer 8 <- Map 20 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE)
 Reducer 9 <- Map 21 (SIMPLE_EDGE), Reducer 8 (SIMPLE_EDGE)
 
 Stage-0
-   Fetch Operator
-      limit:100
-      Stage-1
-         Reducer 13
-         File Output Operator [FS_75]
-            compressed:false
-            Statistics:Num rows: 100 Data size: 143600 Basic stats: COMPLETE Column stats: NONE
-            table:{"input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"}
-            Limit [LIM_74]
-               Number of rows:100
-               Statistics:Num rows: 100 Data size: 143600 Basic stats: COMPLETE Column stats: NONE
-               Select Operator [SEL_73]
-               |  outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-               |  Statistics:Num rows: 165056 Data size: 237066834 Basic stats: COMPLETE Column stats: NONE
-               |<-Reducer 12 [SIMPLE_EDGE]
-                  Reduce Output Operator [RS_72]
-                     key expressions:_col5 (type: bigint), _col0 (type: string), _col1 (type: string), _col2 (type: int)
-                     sort order:-+++
-                     Statistics:Num rows: 165056 Data size: 237066834 Basic stats: COMPLETE Column stats: NONE
-                     value expressions:_col3 (type: bigint), _col4 (type: bigint)
-                     Group By Operator [GBY_70]
-                     |  aggregations:["count(VALUE._col0)","count(VALUE._col1)","count(VALUE._col2)"]
-                     |  keys:KEY._col0 (type: string), KEY._col1 (type: string), KEY._col2 (type: int)
-                     |  outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                     |  Statistics:Num rows: 165056 Data size: 237066834 Basic stats: COMPLETE Column stats: NONE
-                     |<-Reducer 11 [SIMPLE_EDGE]
-                        Reduce Output Operator [RS_69]
-                           key expressions:_col0 (type: string), _col1 (type: string), _col2 (type: int)
-                           Map-reduce partition columns:_col0 (type: string), _col1 (type: string), _col2 (type: int)
-                           sort order:+++
-                           Statistics:Num rows: 330112 Data size: 474133669 Basic stats: COMPLETE Column stats: NONE
-                           value expressions:_col3 (type: bigint), _col4 (type: bigint), _col5 (type: bigint)
-                           Group By Operator [GBY_68]
-                              aggregations:["count(_col3)","count(_col4)","count()"]
-                              keys:_col0 (type: string), _col1 (type: string), _col2 (type: int)
-                              outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                              Statistics:Num rows: 330112 Data size: 474133669 Basic stats: COMPLETE Column stats: NONE
-                              Select Operator [SEL_66]
-                                 outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
-                                 Statistics:Num rows: 330112 Data size: 474133669 Basic stats: COMPLETE Column stats: NONE
-                                 Merge Join Operator [MERGEJOIN_142]
-                                 |  condition map:[{"":"Left Outer Join0 to 1"}]
-                                 |  keys:{"0":"_col4 (type: int), _col6 (type: int)","1":"_col0 (type: int), _col1 (type: int)"}
-                                 |  outputColumnNames:["_col13","_col15","_col22","_col28"]
-                                 |  Statistics:Num rows: 330112 Data size: 474133669 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Map 23 [SIMPLE_EDGE]
-                                 |  Reduce Output Operator [RS_64]
-                                 |     key expressions:_col0 (type: int), _col1 (type: int)
-                                 |     Map-reduce partition columns:_col0 (type: int), _col1 (type: int)
-                                 |     sort order:++
-                                 |     Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                 |     Select Operator [SEL_59]
-                                 |        outputColumnNames:["_col0","_col1"]
-                                 |        Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                 |        Filter Operator [FIL_132]
-                                 |           predicate:cr_item_sk is not null (type: boolean)
-                                 |           Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                 |           TableScan [TS_57]
-                                 |              alias:catalog_returns
-                                 |              Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                 |<-Reducer 10 [SIMPLE_EDGE]
-                                    Reduce Output Operator [RS_63]
-                                       key expressions:_col4 (type: int), _col6 (type: int)
-                                       Map-reduce partition columns:_col4 (type: int), _col6 (type: int)
-                                       sort order:++
-                                       Statistics:Num rows: 300102 Data size: 431030599 Basic stats: COMPLETE Column stats: NONE
-                                       value expressions:_col13 (type: string), _col15 (type: string), _col22 (type: int), _col28 (type: int)
-                                       Merge Join Operator [MERGEJOIN_141]
-                                       |  condition map:[{"":"Left Outer Join0 to 1"}]
-                                       |  keys:{"0":"_col5 (type: int)","1":"_col0 (type: int)"}
-                                       |  outputColumnNames:["_col4","_col6","_col13","_col15","_col22","_col28"]
-                                       |  Statistics:Num rows: 300102 Data size: 431030599 Basic stats: COMPLETE Column stats: NONE
-                                       |<-Map 22 [SIMPLE_EDGE]
-                                       |  Reduce Output Operator [RS_61]
-                                       |     key expressions:_col0 (type: int)
-                                       |     Map-reduce partition columns:_col0 (type: int)
-                                       |     sort order:+
-                                       |     Statistics:Num rows: 2300 Data size: 2713420 Basic stats: COMPLETE Column stats: NONE
-                                       |     Select Operator [SEL_56]
-                                       |        outputColumnNames:["_col0"]
-                                       |        Statistics:Num rows: 2300 Data size: 2713420 Basic stats: COMPLETE Column stats: NONE
-                                       |        TableScan [TS_55]
-                                       |           alias:promotion
-                                       |           Statistics:Num rows: 2300 Data size: 2713420 Basic stats: COMPLETE Column stats: NONE
-                                       |<-Reducer 9 [SIMPLE_EDGE]
-                                          Reduce Output Operator [RS_60]
-                                             key expressions:_col5 (type: int)
-                                             Map-reduce partition columns:_col5 (type: int)
-                                             sort order:+
-                                             Statistics:Num rows: 272820 Data size: 391845991 Basic stats: COMPLETE Column stats: NONE
-                                             value expressions:_col4 (type: int), _col6 (type: int), _col13 (type: string), _col15 (type: string), _col22 (type: int)
-                                             Select Operator [SEL_54]
-                                                outputColumnNames:["_col13","_col15","_col22","_col4","_col5","_col6"]
-                                                Statistics:Num rows: 272820 Data size: 391845991 Basic stats: COMPLETE Column stats: NONE
-                                                Filter Operator [FIL_53]
-                                                   predicate:(UDFToDouble(_col27) > (UDFToDouble(_col21) + 5.0)) (type: boolean)
-                                                   Statistics:Num rows: 272820 Data size: 391845991 Basic stats: COMPLETE Column stats: NONE
-                                                   Merge Join Operator [MERGEJOIN_140]
-                                                   |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                   |  keys:{"0":"_col1 (type: int)","1":"_col0 (type: int)"}
-                                                   |  outputColumnNames:["_col4","_col5","_col6","_col13","_col15","_col21","_col22","_col27"]
-                                                   |  Statistics:Num rows: 818460 Data size: 1175537975 Basic stats: COMPLETE Column stats: NONE
-                                                   |<-Map 21 [SIMPLE_EDGE]
-                                                   |  Reduce Output Operator [RS_51]
-                                                   |     key expressions:_col0 (type: int)
-                                                   |     Map-reduce partition columns:_col0 (type: int)
-                                                   |     sort order:+
-                                                   |     Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                                   |     value expressions:_col1 (type: string)
-                                                   |     Select Operator [SEL_31]
-                                                   |        outputColumnNames:["_col0","_col1"]
-                                                   |        Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                                   |        Filter Operator [FIL_130]
-                                                   |           predicate:d_date_sk is not null (type: boolean)
-                                                   |           Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                                   |           TableScan [TS_29]
-                                                   |              alias:d1
-                                                   |              Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                                   |<-Reducer 8 [SIMPLE_EDGE]
-                                                      Reduce Output Operator [RS_50]
-                                                         key expressions:_col1 (type: int)
-                                                         Map-reduce partition columns:_col1 (type: int)
-                                                         sort order:+
-                                                         Statistics:Num rows: 744055 Data size: 1068670864 Basic stats: COMPLETE Column stats: NONE
-                                                         value expressions:_col4 (type: int), _col5 (type: int), _col6 (type: int), _col13 (type: string), _col15 (type: string), _col21 (type: string), _col22 (type: int)
-                                                         Merge Join Operator [MERGEJOIN_139]
-                                                         |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                         |  keys:{"0":"_col8 (type: int), _col22 (type: int)","1":"_col0 (type: int), _col1 (type: int)"}
-                                                         |  outputColumnNames:["_col1","_col4","_col5","_col6","_col13","_col15","_col21","_col22"]
-                                                         |  Statistics:Num rows: 744055 Data size: 1068670864 Basic stats: COMPLETE Column stats: NONE
-                                                         |<-Map 20 [SIMPLE_EDGE]
-                                                         |  Reduce Output Operator [RS_48]
-                                                         |     key expressions:_col0 (type: int), _col1 (type: int)
-                                                         |     Map-reduce partition columns:_col0 (type: int), _col1 (type: int)
-                                                         |     sort order:++
-                                                         |     Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                                         |     Select Operator [SEL_28]
-                                                         |        outputColumnNames:["_col0","_col1"]
-                                                         |        Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                                         |        Filter Operator [FIL_129]
-                                                         |           predicate:(d_date_sk is not null and d_week_seq is not null) (type: boolean)
-                                                         |           Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                                         |           TableScan [TS_26]
-                                                         |              alias:d1
-                                                         |              Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                                         |<-Reducer 7 [SIMPLE_EDGE]
-                                                            Reduce Output Operator [RS_47]
-                                                               key expressions:_col8 (type: int), _col22 (type: int)
-                                                               Map-reduce partition columns:_col8 (type: int), _col22 (type: int)
-                                                               sort order:++
-                                                               Statistics:Num rows: 676414 Data size: 971518947 Basic stats: COMPLETE Column stats: NONE
-                                                               value expressions:_col1 (type: int), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col13 (type: string), _col15 (type: string), _col21 (type: string)
-                                                               Merge Join Operator [MERGEJOIN_138]
-                                                               |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                               |  keys:{"0":"_col0 (type: int)","1":"_col0 (type: int)"}
-                                                               |  outputColumnNames:["_col1","_col4","_col5","_col6","_col8","_col13","_col15","_col21","_col22"]
-                                                               |  Statistics:Num rows: 676414 Data size: 971518947 Basic stats: COMPLETE Column stats: NONE
-                                                               |<-Map 19 [SIMPLE_EDGE]
-                                                               |  Reduce Output Operator [RS_45]
-                                                               |     key expressions:_col0 (type: int)
-                                                               |     Map-reduce partition columns:_col0 (type: int)
-                                                               |     sort order:+
-                                                               |     Statistics:Num rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                                                               |     value expressions:_col1 (type: string), _col2 (type: int)
-                                                               |     Select Operator [SEL_25]
-                                                               |        outputColumnNames:["_col0","_col1","_col2"]
-                                                               |        Statistics:Num rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                                                               |        Filter Operator [FIL_128]
-                                                               |           predicate:((d_date_sk is not null and (d_year = 2001)) and d_week_seq is not null) (type: boolean)
-                                                               |           Statistics:Num rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
-                                                               |           TableScan [TS_23]
-                                                               |              alias:d1
-                                                               |              Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
-                                                               |<-Reducer 6 [SIMPLE_EDGE]
-                                                                  Reduce Output Operator [RS_44]
-                                                                     key expressions:_col0 (type: int)
-                                                                     Map-reduce partition columns:_col0 (type: int)
-                                                                     sort order:+
-                                                                     Statistics:Num rows: 614922 Data size: 883199024 Basic stats: COMPLETE Column stats: NONE
-                                                                     value expressions:_col1 (type: int), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col8 (type: int), _col13 (type: string), _col15 (type: string)
-                                                                     Merge Join Operator [MERGEJOIN_137]
-                                                                     |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                                     |  keys:{"0":"_col3 (type: int)","1":"_col0 (type: int)"}
-                                                                     |  outputColumnNames:["_col0","_col1","_col4","_col5","_col6","_col8","_col13","_col15"]
-                                                                     |  Statistics:Num rows: 614922 Data size: 883199024 Basic stats: COMPLETE Column stats: NONE
-                                                                     |<-Map 18 [SIMPLE_EDGE]
-                                                                     |  Reduce Output Operator [RS_42]
-                                                                     |     key expressions:_col0 (type: int)
-                                                                     |     Map-reduce partition columns:_col0 (type: int)
-                                                                     |     sort order:+
-                                                                     |     Statistics:Num rows: 3600 Data size: 385200 Basic stats: COMPLETE Column stats: NONE
-                                                                     |     Select Operator [SEL_22]
-                                                                     |        outputColumnNames:["_col0"]
-                                                                     |        Statistics:Num rows: 3600 Data size: 385200 Basic stats: COMPLETE Column stats: NONE
-                                                                     |        Filter Operator [FIL_127]
-                                                                     |           predicate:(hd_demo_sk is not null and (hd_buy_potential = '1001-5000')) (type: boolean)
-                                                                     |           Statistics:Num rows: 3600 Data size: 385200 Basic stats: COMPLETE Column stats: NONE
-                                                                     |           TableScan [TS_20]
-                                                                     |              alias:household_demographics
-                                                                     |              Statistics:Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: NONE
-                                                                     |<-Reducer 5 [SIMPLE_EDGE]
-                                                                        Reduce Output Operator [RS_41]
-                                                                           key expressions:_col3 (type: int)
-                                                                           Map-reduce partition columns:_col3 (type: int)
-                                                                           sort order:+
-                                                                           Statistics:Num rows: 559020 Data size: 802908187 Basic stats: COMPLETE Column stats: NONE
-                                                                           value expressions:_col0 (type: int), _col1 (type: int), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col8 (type: int), _col13 (type: string), _col15 (type: string)
-                                                                           Merge Join Operator [MERGEJOIN_136]
-                                                                           |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                                           |  keys:{"0":"_col2 (type: int)","1":"_col0 (type: int)"}
-                                                                           |  outputColumnNames:["_col0","_col1","_col3","_col4","_col5","_col6","_col8","_col13","_col15"]
-                                                                           |  Statistics:Num rows: 559020 Data size: 802908187 Basic stats: COMPLETE Column stats: NONE
-                                                                           |<-Map 17 [SIMPLE_EDGE]
-                                                                           |  Reduce Output Operator [RS_39]
-                                                                           |     key expressions:_col0 (type: int)
-                                                                           |     Map-reduce partition columns:_col0 (type: int)
-                                                                           |     sort order:+
-                                                                           |     Statistics:Num rows: 9900 Data size: 3585529 Basic stats: COMPLETE Column stats: NONE
-                                                                           |     Select Operator [SEL_19]
-                                                                           |        outputColumnNames:["_col0"]
-                                                                           |        Statistics:Num rows: 9900 Data size: 3585529 Basic stats: COMPLETE Column stats: NONE
-                                                                           |        Filter Operator [FIL_126]
-                                                                           |           predicate:(cd_demo_sk is not null and (cd_marital_status = 'M')) (type: boolean)
-                                                                           |           Statistics:Num rows: 9900 Data size: 3585529 Basic stats: COMPLETE Column stats: NONE
-                                                                           |           TableScan [TS_17]
-                                                                           |              alias:customer_demographics
-                                                                           |              Statistics:Num rows: 19800 Data size: 7171059 Basic stats: COMPLETE Column stats: NONE
-                                                                           |<-Reducer 4 [SIMPLE_EDGE]
-                                                                              Reduce Output Operator [RS_38]
-                                                                                 key expressions:_col2 (type: int)
-                                                                                 Map-reduce partition columns:_col2 (type: int)
-                                                                                 sort order:+
-                                                                                 Statistics:Num rows: 508200 Data size: 729916518 Basic stats: COMPLETE Column stats: NONE
-                                                                                 value expressions:_col0 (type: int), _col1 (type: int), _col3 (type: int), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col8 (type: int), _col13 (type: string), _col15 (type: string)
-                                                                                 Merge Join Operator [MERGEJOIN_135]
-                                                                                 |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                                                 |  keys:{"0":"_col4 (type: int)","1":"_col0 (type: int)"}
-                                                                                 |  outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col8","_col13","_col15"]
-                                                                                 |  Statistics:Num rows: 508200 Data size: 729916518 Basic stats: COMPLETE Column stats: NONE
-                                                                                 |<-Map 16 [SIMPLE_EDGE]
-                                                                                 |  Reduce Output Operator [RS_36]
-                                                                                 |     key expressions:_col0 (type: int)
-                                                                                 |     Map-reduce partition columns:_col0 (type: int)
-                                                                                 |     sort order:+
-                                                                                 |     Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
-                                                                                 |     value expressions:_col1 (type: string)
-                                                                                 |     Select Operator [SEL_16]
-                                                                                 |        outputColumnNames:["_col0","_col1"]
-                                                                                 |        Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
-                                                                                 |        Filter Operator [FIL_125]
-                                                                                 |           predicate:i_item_sk is not null (type: boolean)
-                                                                                 |           Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
-                                                                                 |           TableScan [TS_14]
-                                                                                 |              alias:item
-                                                                                 |              Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column stats: NONE
-                                                                                 |<-Reducer 3 [SIMPLE_EDGE]
-                                                                                    Reduce Output Operator [RS_35]
-                                                                                       key expressions:_col4 (type: int)
-                                                                                       Map-reduce partition columns:_col4 (type: int)
-                                                                                       sort order:+
-                                                                                       Statistics:Num rows: 29 Data size: 30582 Basic stats: COMPLETE Column stats: NONE
-                                                                                       value expressions:_col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: int), _col5 (type: int), _col6 (type: int), _col8 (type: int), _col13 (type: string)
-                                                                                       Merge Join Operator [MERGEJOIN_134]
-                                                                                       |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                                                       |  keys:{"0":"_col10 (type: int)","1":"_col0 (type: int)"}
-                                                                                       |  outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col8","_col13"]
-                                                                                       |  Statistics:Num rows: 29 Data size: 30582 Basic stats: COMPLETE Column stats: NONE
-                                                                                       |<-Map 15 [SIMPLE_EDGE]
-                                                                                       |  Reduce Output Operator [RS_33]
-                                                                                       |     key expressions:_col0 (type: int)
-                                                                                       |     Map-reduce partition columns:_col0 (type: int)
-                                                                                       |     sort order:+
-                                                                                       |     Statistics:Num rows: 27 Data size: 27802 Basic stats: COMPLETE Column stats: NONE
-                                                                                       |     value expressions:_col1 (type: string)
-                                                                                       |     Select Operator [SEL_13]
-                                                                                       |        outputColumnNames:["_col0","_col1"]
-                                                                                       |        Statistics:Num rows: 27 Data size: 27802 Basic stats: COMPLETE Column stats: NONE
-                                                                                       |        Filter Operator [FIL_124]
-                                                                                       |           predicate:w_warehouse_sk is not null (type: boolean)
-                                                                                       |           Statistics:Num rows: 27 Data size: 27802 Basic stats: COMPLETE Column stats: NONE
-                                                                                       |           TableScan [TS_11]
-                                                                                       |              alias:warehouse
-                                                                                       |              Statistics:Num rows: 27 Data size: 27802 Basic stats: COMPLETE Column stats: NONE
-                                                                                       |<-Reducer 2 [SIMPLE_EDGE]
-                                                                                          Reduce Output Operator [RS_32]
-                                                                                             key expressions:_col10 (type: int)
-                                                                                             Map-reduce partition columns:_col10 (type: int)
-                                                                                             sort order:+
-                                                                                             Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                             value expressions:_col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int), _col5 (type: int), _col6 (type: int), _col8 (type: int)
-                                                                                             Select Operator [SEL_10]
-                                                                                                outputColumnNames:["_col0","_col1","_col10","_col2","_col3","_col4","_col5","_col6","_col8"]
-                                                                                                Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                Filter Operator [FIL_9]
-                                                                                                   predicate:(_col11 < _col7) (type: boolean)
-                                                                                                   Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                   Merge Join Operator [MERGEJOIN_133]
-                                                                                                   |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                                                                   |  keys:{"0":"_col4 (type: int)","1":"_col1 (type: int)"}
-                                                                                                   |  outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col10","_col11"]
-                                                                                                   |  Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                   |<-Map 1 [SIMPLE_EDGE]
-                                                                                                   |  Reduce Output Operator [RS_6]
-                                                                                                   |     key expressions:_col4 (type: int)
-                                                                                                   |     Map-reduce partition columns:_col4 (type: int)
-                                                                                                   |     sort order:+
-                                                                                                   |     Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                   |     value expressions:_col0 (type: int), _col1 (type: int), _col2 (type: int), _col3 (type: int), _col5 (type: int), _col6 (type: int), _col7 (type: int)
-                                                                                                   |     Select Operator [SEL_2]
-                                                                                                   |        outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
-                                                                                                   |        Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                   |        Filter Operator [FIL_122]
-                                                                                                   |           predicate:((((cs_item_sk is not null and cs_bill_cdemo_sk is not null) and cs_bill_hdemo_sk is not null) and cs_sold_date_sk is not null) and cs_ship_date_sk is not null) (type: boolean)
-                                                                                                   |           Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                   |           TableScan [TS_0]
-                                                                                                   |              alias:catalog_sales
-                                                                                                   |              Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                   |<-Map 14 [SIMPLE_EDGE]
-                                                                                                      Reduce Output Operator [RS_7]
-                                                                                                         key expressions:_col1 (type: int)
-                                                                                                         Map-reduce partition columns:_col1 (type: int)
-                                                                                                         sort order:+
-                                                                                                         Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                         value expressions:_col0 (type: int), _col2 (type: int), _col3 (type: int)
-                                                                                                         Select Operator [SEL_5]
-                                                                                                            outputColumnNames:["_col0","_col1","_col2","_col3"]
-                                                                                                            Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                            Filter Operator [FIL_123]
-                                                                                                               predicate:((inv_item_sk is not null and inv_warehouse_sk is not null) and inv_date_sk is not null) (type: boolean)
-                                                                                                               Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                                                                               TableScan [TS_3]
-                                                                                                                  alias:inventory
-                                                                                                                  Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+  Fetch Operator
+    limit:100
+    Stage-1
+      Reducer 13
+      File Output Operator [FS_75]
+        Limit [LIM_74] (rows=100 width=1436)
+          Number of rows:100
+          Select Operator [SEL_73] (rows=165056 width=1436)
+            Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+          <-Reducer 12 [SIMPLE_EDGE]
+            SHUFFLE [RS_72]
+              Group By Operator [GBY_70] (rows=165056 width=1436)
+                Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(VALUE._col0)","count(VALUE._col1)","count(VALUE._col2)"],keys:KEY._col0, KEY._col1, KEY._col2
+              <-Reducer 11 [SIMPLE_EDGE]
+                SHUFFLE [RS_69]
+                  PartitionCols:_col0, _col1, _col2
+                  Group By Operator [GBY_68] (rows=330112 width=1436)
+                    Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(_col3)","count(_col4)","count()"],keys:_col0, _col1, _col2
+                    Select Operator [SEL_66] (rows=330112 width=1436)
+                      Output:["_col0","_col1","_col2","_col3","_col4"]
+                      Merge Join Operator [MERGEJOIN_142] (rows=330112 width=1436)
+                        Conds:RS_63._col4, _col6=RS_64._col0, _col1(Left Outer),Output:["_col13","_col15","_col22","_col28"]
+                      <-Map 23 [SIMPLE_EDGE]
+                        SHUFFLE [RS_64]
+                          PartitionCols:_col0, _col1
+                          Select Operator [SEL_59] (rows=1 width=0)
+                            Output:["_col0","_col1"]
+                            Filter Operator [FIL_132] (rows=1 width=0)
+                              predicate:cr_item_sk is not null
+                              TableScan [TS_57] (rows=1 width=0)
+                                default@catalog_returns,catalog_returns,Tbl:PARTIAL,Col:NONE,Output:["cr_item_sk","cr_order_number"]
+                      <-Reducer 10 [SIMPLE_EDGE]
+                        SHUFFLE [RS_63]
+                          PartitionCols:_col4, _col6
+                          Merge Join Operator [MERGEJOIN_141] (rows=300102 width=1436)
+                            Conds:RS_60._col5=RS_61._col0(Left Outer),Output:["_col4","_col6","_col13","_col15","_col22","_col28"]
+                          <-Map 22 [SIMPLE_EDGE]
+                            SHUFFLE [RS_61]
+                              PartitionCols:_col0
+                              Select Operator [SEL_56] (rows=2300 width=1179)
+                                Output:["_col0"]
+                                TableScan [TS_55] (rows=2300 width=1179)
+                                  default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk"]
+                          <-Reducer 9 [SIMPLE_EDGE]
+                            SHUFFLE [RS_60]
+                              PartitionCols:_col5
+                              Select Operator [SEL_54] (rows=272820 width=1436)
+                                Output:["_col13","_col15","_col22","_col4","_col5","_col6"]
+                                Filter Operator [FIL_53] (rows=272820 width=1436)
+                                  predicate:(UDFToDouble(_col27) > (UDFToDouble(_col21) + 5.0))
+                                  Merge Join Operator [MERGEJOIN_140] (rows=818460 width=1436)
+                                    Conds:RS_50._col1=RS_51._col0(Inner),Output:["_col4","_col5","_col6","_col13","_col15","_col21","_col22","_col27"]
+                                  <-Map 21 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_51]
+                                      PartitionCols:_col0
+                                      Select Operator [SEL_31] (rows=73049 width=1119)
+                                        Output:["_col0","_col1"]
+                                        Filter Operator [FIL_130] (rows=73049 width=1119)
+                                          predicate:d_date_sk is not null
+                                          TableScan [TS_29] (rows=73049 width=1119)
+                                            default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date"]
+                                  <-Reducer 8 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_50]
+                                      PartitionCols:_col1
+                                      Merge Join Operator [MERGEJOIN_139] (rows=744055 width=1436)
+                                        Conds:RS_47._col8, _col22=RS_48._col0, _col1(Inner),Output:["_col1","_col4","_col5","_col6","_col13","_col15","_col21","_col22"]
+                                      <-Map 20 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_48]
+                                          PartitionCols:_col0, _col1
+                                          Select Operator [SEL_28] (rows=73049 width=1119)
+                                            Output:["_col0","_col1"]
+                                            Filter Operator [FIL_129] (rows=73049 width=1119)
+                                              predicate:(d_date_sk is not null and d_week_seq is not null)
+                                              TableScan [TS_26] (rows=73049 width=1119)
+                                                default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_week_seq"]
+                                      <-Reducer 7 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_47]
+                                          PartitionCols:_col8, _col22
+                                          Merge Join Operator [MERGEJOIN_138] (rows=676414 width=1436)
+                                            Conds:RS_44._col0=RS_45._col0(Inner),Output:["_col1","_col4","_col5","_col6","_col8","_col13","_col15","_col21","_col22"]
+                                          <-Map 19 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_45]
+                                              PartitionCols:_col0
+                                              Select Operator [SEL_25] (rows=36524 width=1119)
+                                                Output:["_col0","_col1","_col2"]
+                                                Filter Operator [FIL_128] (rows=36524 width=1119)
+                                                  predicate:((d_date_sk is not null and (d_year = 2001)) and d_week_seq is not null)
+                                                  TableScan [TS_23] (rows=73049 width=1119)
+                                                    default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date","d_week_seq","d_year"]
+                                          <-Reducer 6 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_44]
+                                              PartitionCols:_col0
+                                              Merge Join Operator [MERGEJOIN_137] (rows=614922 width=1436)
+                                                Conds:RS_41._col3=RS_42._col0(Inner),Output:["_col0","_col1","_col4","_col5","_col6","_col8","_col13","_col15"]
+                                              <-Map 18 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_42]
+                                                  PartitionCols:_col0
+                                                  Select Operator [SEL_22] (rows=3600 width=107)
+                                                    Output:["_col0"]
+                                                    Filter Operator [FIL_127] (rows=3600 width=107)
+                                                      predicate:(hd_demo_sk is not null and (hd_buy_potential = '1001-5000'))
+                                                      TableScan [TS_20] (rows=7200 width=107)
+                                                        default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_buy_potential"]
+                                              <-Reducer 5 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_41]
+                                                  PartitionCols:_col3
+                                                  Merge Join Operator [MERGEJOIN_136] (rows=559020 width=1436)
+                                                    Conds:RS_38._col2=RS_39._col0(Inner),Output:["_col0","_col1","_col3","_col4","_col5","_col6","_col8","_col13","_col15"]
+                                                  <-Map 17 [SIMPLE_EDGE]
+                                                    SHUFFLE [RS_39]
+                                                      PartitionCols:_col0
+                                                      Select Operator [SEL_19] (rows=9900 width=362)
+                                                        Output:["_col0"]
+                                                        Filter Operator [FIL_126] (rows=9900 width=362)
+                                                          predicate:(cd_demo_sk is not null and (cd_marital_status = 'M'))
+                                                          TableScan [TS_17] (rows=19800 width=362)
+                                                            default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status"]
+                                                  <-Reducer 4 [SIMPLE_EDGE]
+                                                    SHUFFLE [RS_38]
+                                                      PartitionCols:_col2
+                                                      Merge Join Operator [MERGEJOIN_135] (rows=508200 width=1436)
+                                                        Conds:RS_35._col4=RS_36._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col8","_col13","_col15"]
+                                                      <-Map 16 [SIMPLE_EDGE]
+                                                        SHUFFLE [RS_36]
+                                                          PartitionCols:_col0
+                                                          Select Operator [SEL_16] (rows=462000 width=1436)
+                                                            Output:["_col0","_col1"]
+                                                            Filter Operator [FIL_125] (rows=462000 width=1436)
+                                                              predicate:i_item_sk is not null
+                                                              TableScan [TS_14] (rows=462000 width=1436)
+                                                                default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_desc"]
+                                                      <-Reducer 3 [SIMPLE_EDGE]
+                                                        SHUFFLE [RS_35]
+                                                          PartitionCols:_col4
+                                                          Merge Join Operator [MERGEJOIN_134] (rows=29 width=1054)
+                                                            Conds:RS_32._col10=RS_33._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col8","_col13"]
+                                                          <-Map 15 [SIMPLE_EDGE]
+                                                            SHUFFLE [RS_33]
+                                                              PartitionCols:_col0
+                                                              Select Operator [SEL_13] (rows=27 width=1029)
+                                                                Output:["_col0","_col1"]
+                                                                Filter Operator [FIL_124] (rows=27 width=1029)
+                                                                  predicate:w_warehouse_sk is not null
+                                                                  TableScan [TS_11] (rows=27 width=1029)
+                                                                    default@warehouse,warehouse,Tbl:COMPLETE,Col:NONE,Output:["w_warehouse_sk","w_warehouse_name"]
+                                                          <-Reducer 2 [SIMPLE_EDGE]
+                                                            SHUFFLE [RS_32]
+                                                              PartitionCols:_col10
+                                                              Select Operator [SEL_10] (rows=1 width=0)
+                                                                Output:["_col0","_col1","_col10","_col2","_col3","_col4","_col5","_col6","_col8"]
+                                                                Filter Operator [FIL_9] (rows=1 width=0)
+                                                                  predicate:(_col11 < _col7)
+                                                                  Merge Join Operator [MERGEJOIN_133] (rows=1 width=0)
+                                                                    Conds:RS_6._col4=RS_7._col1(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col10","_col11"]
+                                                                  <-Map 1 [SIMPLE_EDGE]
+                                                                    SHUFFLE [RS_6]
+                                                                      PartitionCols:_col4
+                                                                      Select Operator [SEL_2] (rows=1 width=0)
+                                                                        Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
+                                                                        Filter Operator [FIL_122] (rows=1 width=0)
+                                                                          predicate:((((cs_item_sk is not null and cs_bill_cdemo_sk is not null) and cs_bill_hdemo_sk is not null) and cs_sold_date_sk is not null) and cs_ship_date_sk is not null)
+                                                                          TableScan [TS_0] (rows=1 width=0)
+                                                                            default@catalog_sales,catalog_sales,Tbl:PARTIAL,Col:NONE,Output:["cs_sold_date_sk","cs_ship_date_sk","cs_bill_cdemo_sk","cs_bill_hdemo_sk","cs_item_sk","cs_promo_sk","cs_order_number","cs_quantity"]
+                                                                  <-Map 14 [SIMPLE_EDGE]
+                                                                    SHUFFLE [RS_7]
+                                                                      PartitionCols:_col1
+                                                                      Select Operator [SEL_5] (rows=1 width=0)
+                                                                        Output:["_col0","_col1","_col2","_col3"]
+                                                                        Filter Operator [FIL_123] (rows=1 width=0)
+                                                                          predicate:((inv_item_sk is not null and inv_warehouse_sk is not null) and inv_date_sk is not null)
+                                                                          TableScan [TS_3] (rows=1 width=0)
+                                                                            default@inventory,inventory,Tbl:PARTIAL,Col:NONE,Output:["inv_date_sk","inv_item_sk","inv_warehouse_sk","inv_quantity_on_hand"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/be9735e1/ql/src/test/results/clientpositive/perf/query73.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query73.q.out b/ql/src/test/results/clientpositive/perf/query73.q.out
index b2236e3..af359d0 100644
--- a/ql/src/test/results/clientpositive/perf/query73.q.out
+++ b/ql/src/test/results/clientpositive/perf/query73.q.out
@@ -13,165 +13,88 @@ Reducer 6 <- Map 11 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE)
 Reducer 7 <- Reducer 6 (SIMPLE_EDGE)
 
 Stage-0
-   Fetch Operator
-      limit:-1
-      Stage-1
-         Reducer 7
-         File Output Operator [FS_37]
-            compressed:false
-            Statistics:Num rows: 88000001 Data size: 75681779077 Basic stats: COMPLETE Column stats: NONE
-            table:{"input format:":"org.apache.hadoop.mapred.TextInputFormat","output format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"}
-            Select Operator [SEL_36]
-            |  outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-            |  Statistics:Num rows: 88000001 Data size: 75681779077 Basic stats: COMPLETE Column stats: NONE
-            |<-Reducer 6 [SIMPLE_EDGE]
-               Reduce Output Operator [RS_35]
-                  key expressions:_col5 (type: bigint)
-                  sort order:-
-                  Statistics:Num rows: 88000001 Data size: 75681779077 Basic stats: COMPLETE Column stats: NONE
-                  value expressions:_col0 (type: string), _col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: int)
-                  Select Operator [SEL_34]
-                     outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                     Statistics:Num rows: 88000001 Data size: 75681779077 Basic stats: COMPLETE Column stats: NONE
-                     Merge Join Operator [MERGEJOIN_60]
-                     |  condition map:[{"":"Inner Join 0 to 1"}]
-                     |  keys:{"0":"_col1 (type: int)","1":"_col0 (type: int)"}
-                     |  outputColumnNames:["_col0","_col2","_col4","_col5","_col6","_col7"]
-                     |  Statistics:Num rows: 88000001 Data size: 75681779077 Basic stats: COMPLETE Column stats: NONE
-                     |<-Map 11 [SIMPLE_EDGE]
-                     |  Reduce Output Operator [RS_32]
-                     |     key expressions:_col0 (type: int)
-                     |     Map-reduce partition columns:_col0 (type: int)
-                     |     sort order:+
-                     |     Statistics:Num rows: 80000000 Data size: 68801615852 Basic stats: COMPLETE Column stats: NONE
-                     |     value expressions:_col1 (type: string), _col2 (type: string), _col3 (type: string), _col4 (type: string)
-                     |     Select Operator [SEL_30]
-                     |        outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
-                     |        Statistics:Num rows: 80000000 Data size: 68801615852 Basic stats: COMPLETE Column stats: NONE
-                     |        Filter Operator [FIL_56]
-                     |           predicate:c_customer_sk is not null (type: boolean)
-                     |           Statistics:Num rows: 80000000 Data size: 68801615852 Basic stats: COMPLETE Column stats: NONE
-                     |           TableScan [TS_28]
-                     |              alias:customer
-                     |              Statistics:Num rows: 80000000 Data size: 68801615852 Basic stats: COMPLETE Column stats: NONE
-                     |<-Reducer 5 [SIMPLE_EDGE]
-                        Reduce Output Operator [RS_31]
-                           key expressions:_col1 (type: int)
-                           Map-reduce partition columns:_col1 (type: int)
-                           sort order:+
-                           Statistics:Num rows: 6076 Data size: 6799525 Basic stats: COMPLETE Column stats: NONE
-                           value expressions:_col0 (type: int), _col2 (type: bigint)
-                           Filter Operator [FIL_26]
-                              predicate:_col2 BETWEEN 1 AND 5 (type: boolean)
-                              Statistics:Num rows: 6076 Data size: 6799525 Basic stats: COMPLETE Column stats: NONE
-                              Select Operator [SEL_25]
-                                 outputColumnNames:["_col0","_col1","_col2"]
-                                 Statistics:Num rows: 12152 Data size: 13599051 Basic stats: COMPLETE Column stats: NONE
-                                 Group By Operator [GBY_24]
-                                 |  aggregations:["count(VALUE._col0)"]
-                                 |  keys:KEY._col0 (type: int), KEY._col1 (type: int)
-                                 |  outputColumnNames:["_col0","_col1","_col2"]
-                                 |  Statistics:Num rows: 12152 Data size: 13599051 Basic stats: COMPLETE Column stats: NONE
-                                 |<-Reducer 4 [SIMPLE_EDGE]
-                                    Reduce Output Operator [RS_23]
-                                       key expressions:_col0 (type: int), _col1 (type: int)
-                                       Map-reduce partition columns:_col0 (type: int), _col1 (type: int)
-                                       sort order:++
-                                       Statistics:Num rows: 24305 Data size: 27199223 Basic stats: COMPLETE Column stats: NONE
-                                       value expressions:_col2 (type: bigint)
-                                       Group By Operator [GBY_22]
-                                          aggregations:["count()"]
-                                          keys:_col1 (type: int), _col4 (type: int)
-                                          outputColumnNames:["_col0","_col1","_col2"]
-                                          Statistics:Num rows: 24305 Data size: 27199223 Basic stats: COMPLETE Column stats: NONE
-                                          Merge Join Operator [MERGEJOIN_59]
-                                          |  condition map:[{"":"Inner Join 0 to 1"}]
-                                          |  keys:{"0":"_col2 (type: int)","1":"_col0 (type: int)"}
-                                          |  outputColumnNames:["_col1","_col4"]
-                                          |  Statistics:Num rows: 24305 Data size: 27199223 Basic stats: COMPLETE Column stats: NONE
-                                          |<-Map 10 [SIMPLE_EDGE]
-                                          |  Reduce Output Operator [RS_19]
-                                          |     key expressions:_col0 (type: int)
-                                          |     Map-reduce partition columns:_col0 (type: int)
-                                          |     sort order:+
-                                          |     Statistics:Num rows: 800 Data size: 85600 Basic stats: COMPLETE Column stats: NONE
-                                          |     Select Operator [SEL_11]
-                                          |        outputColumnNames:["_col0"]
-                                          |        Statistics:Num rows: 800 Data size: 85600 Basic stats: COMPLETE Column stats: NONE
-                                          |        Filter Operator [FIL_55]
-                                          |           predicate:(((((hd_buy_potential = '1001-5000') or (hd_buy_potential = '5001-10000')) and (hd_vehicle_count > 0)) and (CASE WHEN ((hd_vehicle_count > 0)) THEN ((UDFToDouble(hd_dep_count) / UDFToDouble(hd_vehicle_count))) ELSE (null) END > 1.0)) and hd_demo_sk is not null) (type: boolean)
-                                          |           Statistics:Num rows: 800 Data size: 85600 Basic stats: COMPLETE Column stats: NONE
-                                          |           TableScan [TS_9]
-                                          |              alias:household_demographics
-                                          |              Statistics:Num rows: 7200 Data size: 770400 Basic stats: COMPLETE Column stats: NONE
-                                          |<-Reducer 3 [SIMPLE_EDGE]
-                                             Reduce Output Operator [RS_18]
-                                                key expressions:_col2 (type: int)
-                                                Map-reduce partition columns:_col2 (type: int)
-                                                sort order:+
-                                                Statistics:Num rows: 22096 Data size: 24726566 Basic stats: COMPLETE Column stats: NONE
-                                                value expressions:_col1 (type: int), _col4 (type: int)
-                                                Merge Join Operator [MERGEJOIN_58]
-                                                |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                |  keys:{"0":"_col3 (type: int)","1":"_col0 (type: int)"}
-                                                |  outputColumnNames:["_col1","_col2","_col4"]
-                                                |  Statistics:Num rows: 22096 Data size: 24726566 Basic stats: COMPLETE Column stats: NONE
-                                                |<-Map 9 [SIMPLE_EDGE]
-                                                |  Reduce Output Operator [RS_16]
-                                                |     key expressions:_col0 (type: int)
-                                                |     Map-reduce partition columns:_col0 (type: int)
-                                                |     sort order:+
-                                                |     Statistics:Num rows: 852 Data size: 1628138 Basic stats: COMPLETE Column stats: NONE
-                                                |     Select Operator [SEL_8]
-                                                |        outputColumnNames:["_col0"]
-                                                |        Statistics:Num rows: 852 Data size: 1628138 Basic stats: COMPLETE Column stats: NONE
-                                                |        Filter Operator [FIL_54]
-                                                |           predicate:((s_county) IN ('Kittitas County', 'Adams County', 'Richland County', 'Furnas County') and s_store_sk is not null) (type: boolean)
-                                                |           Statistics:Num rows: 852 Data size: 1628138 Basic stats: COMPLETE Column stats: NONE
-                                                |           TableScan [TS_6]
-                                                |              alias:store
-                                                |              Statistics:Num rows: 1704 Data size: 3256276 Basic stats: COMPLETE Column stats: NONE
-                                                |<-Reducer 2 [SIMPLE_EDGE]
-                                                   Reduce Output Operator [RS_15]
-                                                      key expressions:_col3 (type: int)
-                                                      Map-reduce partition columns:_col3 (type: int)
-                                                      sort order:+
-                                                      Statistics:Num rows: 20088 Data size: 22478696 Basic stats: COMPLETE Column stats: NONE
-                                                      value expressions:_col1 (type: int), _col2 (type: int), _col4 (type: int)
-                                                      Merge Join Operator [MERGEJOIN_57]
-                                                      |  condition map:[{"":"Inner Join 0 to 1"}]
-                                                      |  keys:{"0":"_col0 (type: int)","1":"_col0 (type: int)"}
-                                                      |  outputColumnNames:["_col1","_col2","_col3","_col4"]
-                                                      |  Statistics:Num rows: 20088 Data size: 22478696 Basic stats: COMPLETE Column stats: NONE
-                                                      |<-Map 1 [SIMPLE_EDGE]
-                                                      |  Reduce Output Operator [RS_12]
-                                                      |     key expressions:_col0 (type: int)
-                                                      |     Map-reduce partition columns:_col0 (type: int)
-                                                      |     sort order:+
-                                                      |     Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      |     value expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
-                                                      |     Select Operator [SEL_2]
-                                                      |        outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
-                                                      |        Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      |        Filter Operator [FIL_52]
-                                                      |           predicate:(((ss_sold_date_sk is not null and ss_store_sk is not null) and ss_hdemo_sk is not null) and ss_customer_sk is not null) (type: boolean)
-                                                      |           Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      |           TableScan [TS_0]
-                                                      |              alias:store_sales
-                                                      |              Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
-                                                      |<-Map 8 [SIMPLE_EDGE]
-                                                         Reduce Output Operator [RS_13]
-                                                            key expressions:_col0 (type: int)
-                                                            Map-reduce partition columns:_col0 (type: int)
-                                                            sort order:+
-                                                            Statistics:Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column stats: NONE
-                                                            Select Operator [SEL_5]
-                                                               outputColumnNames:["_col0"]
-                                                               Statistics:Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column stats: NONE
-                                                               Filter Operator [FIL_53]
-                                                                  predicate:((d_dom BETWEEN 1 AND 2 and (d_year) IN (1998, 1999, 2000)) and d_date_sk is not null) (type: boolean)
-                                                                  Statistics:Num rows: 18262 Data size: 20435178 Basic stats: COMPLETE Column stats: NONE
-                                                                  TableScan [TS_3]
-                                                                     alias:date_dim
-                                                                     Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column stats: NONE
+  Fetch Operator
+    limit:-1
+    Stage-1
+      Reducer 7
+      File Output Operator [FS_37]
+        Select Operator [SEL_36] (rows=88000001 width=860)
+          Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+        <-Reducer 6 [SIMPLE_EDGE]
+          SHUFFLE [RS_35]
+            Select Operator [SEL_34] (rows=88000001 width=860)
+              Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+              Merge Join Operator [MERGEJOIN_60] (rows=88000001 width=860)
+                Conds:RS_31._col1=RS_32._col0(Inner),Output:["_col0","_col2","_col4","_col5","_col6","_col7"]
+              <-Map 11 [SIMPLE_EDGE]
+                SHUFFLE [RS_32]
+                  PartitionCols:_col0
+                  Select Operator [SEL_30] (rows=80000000 width=860)
+                    Output:["_col0","_col1","_col2","_col3","_col4"]
+                    Filter Operator [FIL_56] (rows=80000000 width=860)
+                      predicate:c_customer_sk is not null
+                      TableScan [TS_28] (rows=80000000 width=860)
+                        default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk","c_salutation","c_first_name","c_last_name","c_preferred_cust_flag"]
+              <-Reducer 5 [SIMPLE_EDGE]
+                SHUFFLE [RS_31]
+                  PartitionCols:_col1
+                  Filter Operator [FIL_26] (rows=6076 width=1119)
+                    predicate:_col2 BETWEEN 1 AND 5
+                    Select Operator [SEL_25] (rows=12152 width=1119)
+                      Output:["_col0","_col1","_col2"]
+                      Group By Operator [GBY_24] (rows=12152 width=1119)
+                        Output:["_col0","_col1","_col2"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1
+                      <-Reducer 4 [SIMPLE_EDGE]
+                        SHUFFLE [RS_23]
+                          PartitionCols:_col0, _col1
+                          Group By Operator [GBY_22] (rows=24305 width=1119)
+                            Output:["_col0","_col1","_col2"],aggregations:["count()"],keys:_col1, _col4
+                            Merge Join Operator [MERGEJOIN_59] (rows=24305 width=1119)
+                              Conds:RS_18._col2=RS_19._col0(Inner),Output:["_col1","_col4"]
+                            <-Map 10 [SIMPLE_EDGE]
+                              SHUFFLE [RS_19]
+                                PartitionCols:_col0
+                                Select Operator [SEL_11] (rows=800 width=107)
+                                  Output:["_col0"]
+                                  Filter Operator [FIL_55] (rows=800 width=107)
+                                    predicate:(((((hd_buy_potential = '1001-5000') or (hd_buy_potential = '5001-10000')) and (hd_vehicle_count > 0)) and (CASE WHEN ((hd_vehicle_count > 0)) THEN ((UDFToDouble(hd_dep_count) / UDFToDouble(hd_vehicle_count))) ELSE (null) END > 1.0)) and hd_demo_sk is not null)
+                                    TableScan [TS_9] (rows=7200 width=107)
+                                      default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_buy_potential","hd_dep_count","hd_vehicle_count"]
+                            <-Reducer 3 [SIMPLE_EDGE]
+                              SHUFFLE [RS_18]
+                                PartitionCols:_col2
+                                Merge Join Operator [MERGEJOIN_58] (rows=22096 width=1119)
+                                  Conds:RS_15._col3=RS_16._col0(Inner),Output:["_col1","_col2","_col4"]
+                                <-Map 9 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_16]
+                                    PartitionCols:_col0
+                                    Select Operator [SEL_8] (rows=852 width=1910)
+                                      Output:["_col0"]
+                                      Filter Operator [FIL_54] (rows=852 width=1910)
+                                        predicate:((s_county) IN ('Kittitas County', 'Adams County', 'Richland County', 'Furnas County') and s_store_sk is not null)
+                                        TableScan [TS_6] (rows=1704 width=1910)
+                                          default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_county"]
+                                <-Reducer 2 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_15]
+                                    PartitionCols:_col3
+                                    Merge Join Operator [MERGEJOIN_57] (rows=20088 width=1119)
+                                      Conds:RS_12._col0=RS_13._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
+                                    <-Map 1 [SIMPLE_EDGE]
+                                      SHUFFLE [RS_12]
+                                        PartitionCols:_col0
+                                        Select Operator [SEL_2] (rows=1 width=0)
+                                          Output:["_col0","_col1","_col2","_col3","_col4"]
+                                          Filter Operator [FIL_52] (rows=1 width=0)
+                                            predicate:(((ss_sold_date_sk is not null and ss_store_sk is not null) and ss_hdemo_sk is not null) and ss_customer_sk is not null)
+                                            TableScan [TS_0] (rows=1 width=0)
+                                              default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_customer_sk","ss_hdemo_sk","ss_store_sk","ss_ticket_number"]
+                                    <-Map 8 [SIMPLE_EDGE]
+                                      SHUFFLE [RS_13]
+                                        PartitionCols:_col0
+                                        Select Operator [SEL_5] (rows=18262 width=1119)
+                                          Output:["_col0"]
+                                          Filter Operator [FIL_53] (rows=18262 width=1119)
+                                            predicate:((d_dom BETWEEN 1 AND 2 and (d_year) IN (1998, 1999, 2000)) and d_date_sk is not null)
+                                            TableScan [TS_3] (rows=73049 width=1119)
+                                              default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_dom"]