You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kg...@apache.org on 2018/06/13 11:49:44 UTC

[06/13] hive git commit: HIVE-19237: Only use an operatorId once in a plan (Zoltan Haindrich reviewed by Ashutosh Chauhan)

http://git-wip-us.apache.org/repos/asf/hive/blob/e8f283cf/ql/src/test/results/clientpositive/perf/tez/query2.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query2.q.out b/ql/src/test/results/clientpositive/perf/tez/query2.q.out
index 61776db..f964747 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query2.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query2.q.out
@@ -133,8 +133,8 @@ Stage-0
     limit:-1
     Stage-1
       Reducer 7 vectorized
-      File Output Operator [FS_112]
-        Select Operator [SEL_111] (rows=287491028 width=135)
+      File Output Operator [FS_122]
+        Select Operator [SEL_121] (rows=287491028 width=135)
           Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
         <-Reducer 6 [SIMPLE_EDGE]
           SHUFFLE [RS_58]
@@ -146,20 +146,20 @@ Stage-0
                 FORWARD [RS_54]
                   PartitionCols:_col0
                   Merge Join Operator [MERGEJOIN_92] (rows=261355475 width=135)
-                    Conds:RS_103._col0=RS_109._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
+                    Conds:RS_113._col0=RS_119._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
                   <-Map 11 [SIMPLE_EDGE] vectorized
-                    SHUFFLE [RS_109]
+                    SHUFFLE [RS_119]
                       PartitionCols:_col0
-                      Select Operator [SEL_107] (rows=36524 width=1119)
+                      Select Operator [SEL_117] (rows=36524 width=1119)
                         Output:["_col0"]
-                        Filter Operator [FIL_105] (rows=36524 width=1119)
+                        Filter Operator [FIL_115] (rows=36524 width=1119)
                           predicate:((d_year = 2001) and d_week_seq is not null)
                           TableScan [TS_20] (rows=73049 width=1119)
                             default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_week_seq","d_year"]
                   <-Reducer 4 [ONE_TO_ONE_EDGE] vectorized
-                    FORWARD [RS_103]
+                    FORWARD [RS_113]
                       PartitionCols:_col0
-                      Group By Operator [GBY_102] (rows=237595882 width=135)
+                      Group By Operator [GBY_112] (rows=237595882 width=135)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)","sum(VALUE._col4)","sum(VALUE._col5)","sum(VALUE._col6)"],keys:KEY._col0
                       <-Reducer 3 [SIMPLE_EDGE]
                         SHUFFLE [RS_17]
@@ -169,50 +169,50 @@ Stage-0
                             Select Operator [SEL_14] (rows=475191764 width=135)
                               Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
                               Merge Join Operator [MERGEJOIN_91] (rows=475191764 width=135)
-                                Conds:Union 2._col0=RS_101._col0(Inner),Output:["_col1","_col3","_col4"]
+                                Conds:Union 2._col0=RS_111._col0(Inner),Output:["_col1","_col3","_col4"]
                               <-Map 10 [SIMPLE_EDGE] vectorized
-                                SHUFFLE [RS_101]
+                                SHUFFLE [RS_111]
                                   PartitionCols:_col0
-                                  Select Operator [SEL_100] (rows=73049 width=1119)
+                                  Select Operator [SEL_110] (rows=73049 width=1119)
                                     Output:["_col0","_col1","_col2"]
-                                    Filter Operator [FIL_99] (rows=73049 width=1119)
+                                    Filter Operator [FIL_109] (rows=73049 width=1119)
                                       predicate:(d_date_sk is not null and d_week_seq is not null)
                                       TableScan [TS_8] (rows=73049 width=1119)
                                         default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_week_seq","d_day_name"]
                               <-Union 2 [SIMPLE_EDGE]
                                 <-Map 1 [CONTAINS] vectorized
-                                  Reduce Output Operator [RS_98]
+                                  Reduce Output Operator [RS_108]
                                     PartitionCols:_col0
-                                    Select Operator [SEL_97] (rows=144002668 width=135)
+                                    Select Operator [SEL_107] (rows=144002668 width=135)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_96] (rows=144002668 width=135)
+                                      Filter Operator [FIL_106] (rows=144002668 width=135)
                                         predicate:ws_sold_date_sk is not null
-                                        TableScan [TS_0] (rows=144002668 width=135)
+                                        TableScan [TS_96] (rows=144002668 width=135)
                                           Output:["ws_sold_date_sk","ws_ext_sales_price"]
                                 <-Map 9 [CONTAINS] vectorized
-                                  Reduce Output Operator [RS_115]
+                                  Reduce Output Operator [RS_125]
                                     PartitionCols:_col0
-                                    Select Operator [SEL_114] (rows=287989836 width=135)
+                                    Select Operator [SEL_124] (rows=287989836 width=135)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_113] (rows=287989836 width=135)
+                                      Filter Operator [FIL_123] (rows=287989836 width=135)
                                         predicate:cs_sold_date_sk is not null
-                                        TableScan [TS_3] (rows=287989836 width=135)
+                                        TableScan [TS_101] (rows=287989836 width=135)
                                           Output:["cs_sold_date_sk","cs_ext_sales_price"]
               <-Reducer 8 [SIMPLE_EDGE]
                 SHUFFLE [RS_55]
                   PartitionCols:(_col0 - 53)
                   Merge Join Operator [MERGEJOIN_94] (rows=261355475 width=135)
-                    Conds:RS_104._col0=RS_110._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
+                    Conds:RS_114._col0=RS_120._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
                   <-Map 11 [SIMPLE_EDGE] vectorized
-                    SHUFFLE [RS_110]
+                    SHUFFLE [RS_120]
                       PartitionCols:_col0
-                      Select Operator [SEL_108] (rows=36524 width=1119)
+                      Select Operator [SEL_118] (rows=36524 width=1119)
                         Output:["_col0"]
-                        Filter Operator [FIL_106] (rows=36524 width=1119)
+                        Filter Operator [FIL_116] (rows=36524 width=1119)
                           predicate:((d_year = 2002) and d_week_seq is not null)
                            Please refer to the previous TableScan [TS_20]
                   <-Reducer 4 [ONE_TO_ONE_EDGE] vectorized
-                    FORWARD [RS_104]
+                    FORWARD [RS_114]
                       PartitionCols:_col0
-                       Please refer to the previous Group By Operator [GBY_102]
+                       Please refer to the previous Group By Operator [GBY_112]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/e8f283cf/ql/src/test/results/clientpositive/perf/tez/query23.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query23.q.out b/ql/src/test/results/clientpositive/perf/tez/query23.q.out
index 48184c9..3743000 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query23.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query23.q.out
@@ -132,19 +132,19 @@ Stage-0
     limit:100
     Stage-1
       Reducer 6 vectorized
-      File Output Operator [FS_443]
-        Limit [LIM_442] (rows=1 width=112)
+      File Output Operator [FS_453]
+        Limit [LIM_452] (rows=1 width=112)
           Number of rows:100
-          Group By Operator [GBY_441] (rows=1 width=112)
+          Group By Operator [GBY_451] (rows=1 width=112)
             Output:["_col0"],aggregations:["sum(VALUE._col0)"]
           <-Union 5 [CUSTOM_SIMPLE_EDGE]
             <-Reducer 10 [CONTAINS]
-              Reduce Output Operator [RS_252]
-                Group By Operator [GBY_251] (rows=1 width=112)
+              Reduce Output Operator [RS_390]
+                Group By Operator [GBY_389] (rows=1 width=112)
                   Output:["_col0"],aggregations:["sum(_col0)"]
-                  Select Operator [SEL_247] (rows=191667562 width=135)
+                  Select Operator [SEL_387] (rows=191667562 width=135)
                     Output:["_col0"]
-                    Merge Join Operator [MERGEJOIN_380] (rows=191667562 width=135)
+                    Merge Join Operator [MERGEJOIN_386] (rows=191667562 width=135)
                       Conds:RS_244._col2=RS_245._col0(Inner),Output:["_col3","_col4"]
                     <-Reducer 25 [SIMPLE_EDGE]
                       SHUFFLE [RS_245]
@@ -156,8 +156,8 @@ Stage-0
                             Merge Join Operator [MERGEJOIN_379] (rows=316797606 width=433)
                               Conds:(Inner),(Inner),Output:["_col1","_col2","_col3"]
                             <-Reducer 30 [CUSTOM_SIMPLE_EDGE] vectorized
-                              PARTITION_ONLY_SHUFFLE [RS_440]
-                                Group By Operator [GBY_438] (rows=316797606 width=88)
+                              PARTITION_ONLY_SHUFFLE [RS_450]
+                                Group By Operator [GBY_448] (rows=316797606 width=88)
                                   Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                                 <-Reducer 29 [SIMPLE_EDGE]
                                   SHUFFLE [RS_105]
@@ -167,42 +167,42 @@ Stage-0
                                       Select Operator [SEL_102] (rows=633595212 width=88)
                                         Output:["_col0","_col1"]
                                         Merge Join Operator [MERGEJOIN_366] (rows=633595212 width=88)
-                                          Conds:RS_437._col0=RS_412._col0(Inner),Output:["_col1","_col2","_col3"]
+                                          Conds:RS_447._col0=RS_422._col0(Inner),Output:["_col1","_col2","_col3"]
                                         <-Map 31 [SIMPLE_EDGE] vectorized
-                                          SHUFFLE [RS_412]
+                                          SHUFFLE [RS_422]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_411] (rows=80000000 width=860)
+                                            Select Operator [SEL_421] (rows=80000000 width=860)
                                               Output:["_col0"]
-                                              Filter Operator [FIL_410] (rows=80000000 width=860)
+                                              Filter Operator [FIL_420] (rows=80000000 width=860)
                                                 predicate:c_customer_sk is not null
                                                 TableScan [TS_96] (rows=80000000 width=860)
                                                   default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk"]
                                         <-Map 28 [SIMPLE_EDGE] vectorized
-                                          SHUFFLE [RS_437]
+                                          SHUFFLE [RS_447]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_436] (rows=575995635 width=88)
+                                            Select Operator [SEL_446] (rows=575995635 width=88)
                                               Output:["_col0","_col1","_col2"]
-                                              Filter Operator [FIL_435] (rows=575995635 width=88)
+                                              Filter Operator [FIL_445] (rows=575995635 width=88)
                                                 predicate:ss_customer_sk is not null
                                                 TableScan [TS_93] (rows=575995635 width=88)
                                                   default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_customer_sk","ss_quantity","ss_sales_price"]
                             <-Reducer 24 [CUSTOM_SIMPLE_EDGE] vectorized
-                              PARTITION_ONLY_SHUFFLE [RS_452]
-                                Select Operator [SEL_451] (rows=1 width=120)
-                                  Filter Operator [FIL_450] (rows=1 width=120)
+                              PARTITION_ONLY_SHUFFLE [RS_462]
+                                Select Operator [SEL_461] (rows=1 width=120)
+                                  Filter Operator [FIL_460] (rows=1 width=120)
                                     predicate:(sq_count_check(_col0) <= 1)
-                                    Group By Operator [GBY_449] (rows=1 width=120)
+                                    Group By Operator [GBY_459] (rows=1 width=120)
                                       Output:["_col0"],aggregations:["count()"]
-                                      Select Operator [SEL_448] (rows=1 width=120)
-                                        Group By Operator [GBY_447] (rows=1 width=120)
+                                      Select Operator [SEL_458] (rows=1 width=120)
+                                        Group By Operator [GBY_457] (rows=1 width=120)
                                           Output:["_col0"],aggregations:["count(VALUE._col0)"]
                                         <-Reducer 20 [CUSTOM_SIMPLE_EDGE] vectorized
-                                          PARTITION_ONLY_SHUFFLE [RS_425]
-                                            Group By Operator [GBY_421] (rows=1 width=120)
+                                          PARTITION_ONLY_SHUFFLE [RS_435]
+                                            Group By Operator [GBY_431] (rows=1 width=120)
                                               Output:["_col0"],aggregations:["count(_col0)"]
-                                              Select Operator [SEL_417] (rows=348477374 width=88)
+                                              Select Operator [SEL_427] (rows=348477374 width=88)
                                                 Output:["_col0"]
-                                                Group By Operator [GBY_414] (rows=348477374 width=88)
+                                                Group By Operator [GBY_424] (rows=348477374 width=88)
                                                   Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                                                 <-Reducer 19 [SIMPLE_EDGE]
                                                   SHUFFLE [RS_51]
@@ -212,62 +212,62 @@ Stage-0
                                                       Select Operator [SEL_48] (rows=696954748 width=88)
                                                         Output:["_col0","_col1"]
                                                         Merge Join Operator [MERGEJOIN_363] (rows=696954748 width=88)
-                                                          Conds:RS_45._col1=RS_413._col0(Inner),Output:["_col2","_col3","_col6"]
+                                                          Conds:RS_45._col1=RS_423._col0(Inner),Output:["_col2","_col3","_col6"]
                                                         <-Map 31 [SIMPLE_EDGE] vectorized
-                                                          SHUFFLE [RS_413]
+                                                          SHUFFLE [RS_423]
                                                             PartitionCols:_col0
-                                                             Please refer to the previous Select Operator [SEL_411]
+                                                             Please refer to the previous Select Operator [SEL_421]
                                                         <-Reducer 18 [SIMPLE_EDGE]
                                                           SHUFFLE [RS_45]
                                                             PartitionCols:_col1
                                                             Merge Join Operator [MERGEJOIN_362] (rows=633595212 width=88)
-                                                              Conds:RS_406._col0=RS_409._col0(Inner),Output:["_col1","_col2","_col3"]
+                                                              Conds:RS_416._col0=RS_419._col0(Inner),Output:["_col1","_col2","_col3"]
                                                             <-Map 17 [SIMPLE_EDGE] vectorized
-                                                              SHUFFLE [RS_406]
+                                                              SHUFFLE [RS_416]
                                                                 PartitionCols:_col0
-                                                                Select Operator [SEL_405] (rows=575995635 width=88)
+                                                                Select Operator [SEL_415] (rows=575995635 width=88)
                                                                   Output:["_col0","_col1","_col2","_col3"]
-                                                                  Filter Operator [FIL_404] (rows=575995635 width=88)
+                                                                  Filter Operator [FIL_414] (rows=575995635 width=88)
                                                                     predicate:(ss_customer_sk is not null and ss_sold_date_sk is not null)
                                                                     TableScan [TS_33] (rows=575995635 width=88)
                                                                       default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_customer_sk","ss_quantity","ss_sales_price"]
                                                             <-Map 27 [SIMPLE_EDGE] vectorized
-                                                              SHUFFLE [RS_409]
+                                                              SHUFFLE [RS_419]
                                                                 PartitionCols:_col0
-                                                                Select Operator [SEL_408] (rows=36525 width=1119)
+                                                                Select Operator [SEL_418] (rows=36525 width=1119)
                                                                   Output:["_col0"]
-                                                                  Filter Operator [FIL_407] (rows=36525 width=1119)
+                                                                  Filter Operator [FIL_417] (rows=36525 width=1119)
                                                                     predicate:((d_year) IN (1999, 2000, 2001, 2002) and d_date_sk is not null)
                                                                     TableScan [TS_36] (rows=73049 width=1119)
                                                                       default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
                             <-Reducer 26 [CUSTOM_SIMPLE_EDGE] vectorized
-                              PARTITION_ONLY_SHUFFLE [RS_454]
-                                Group By Operator [GBY_453] (rows=1 width=224)
+                              PARTITION_ONLY_SHUFFLE [RS_464]
+                                Group By Operator [GBY_463] (rows=1 width=224)
                                   Output:["_col0"],aggregations:["max(VALUE._col0)"]
                                 <-Reducer 20 [CUSTOM_SIMPLE_EDGE] vectorized
-                                  PARTITION_ONLY_SHUFFLE [RS_426]
-                                    Group By Operator [GBY_422] (rows=1 width=224)
+                                  PARTITION_ONLY_SHUFFLE [RS_436]
+                                    Group By Operator [GBY_432] (rows=1 width=224)
                                       Output:["_col0"],aggregations:["max(_col1)"]
-                                      Select Operator [SEL_418] (rows=348477374 width=88)
+                                      Select Operator [SEL_428] (rows=348477374 width=88)
                                         Output:["_col1"]
-                                         Please refer to the previous Group By Operator [GBY_414]
+                                         Please refer to the previous Group By Operator [GBY_424]
                     <-Reducer 9 [SIMPLE_EDGE]
                       SHUFFLE [RS_244]
                         PartitionCols:_col2
                         Merge Join Operator [MERGEJOIN_376] (rows=174243235 width=135)
-                          Conds:RS_241._col1=RS_403._col0(Inner),Output:["_col2","_col3","_col4"]
+                          Conds:RS_241._col1=RS_413._col0(Inner),Output:["_col2","_col3","_col4"]
                         <-Reducer 14 [SIMPLE_EDGE] vectorized
-                          SHUFFLE [RS_403]
+                          SHUFFLE [RS_413]
                             PartitionCols:_col0
-                            Group By Operator [GBY_401] (rows=58079562 width=88)
+                            Group By Operator [GBY_411] (rows=58079562 width=88)
                               Output:["_col0"],keys:_col1
-                              Select Operator [SEL_400] (rows=116159124 width=88)
+                              Select Operator [SEL_410] (rows=116159124 width=88)
                                 Output:["_col1"]
-                                Filter Operator [FIL_399] (rows=116159124 width=88)
+                                Filter Operator [FIL_409] (rows=116159124 width=88)
                                   predicate:(_col3 > 4L)
-                                  Select Operator [SEL_398] (rows=348477374 width=88)
+                                  Select Operator [SEL_408] (rows=348477374 width=88)
                                     Output:["_col0","_col3"]
-                                    Group By Operator [GBY_397] (rows=348477374 width=88)
+                                    Group By Operator [GBY_407] (rows=348477374 width=88)
                                       Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2
                                     <-Reducer 13 [SIMPLE_EDGE]
                                       SHUFFLE [RS_24]
@@ -277,13 +277,13 @@ Stage-0
                                           Select Operator [SEL_21] (rows=696954748 width=88)
                                             Output:["_col0","_col1","_col2"]
                                             Merge Join Operator [MERGEJOIN_361] (rows=696954748 width=88)
-                                              Conds:RS_18._col1=RS_396._col0(Inner),Output:["_col3","_col5","_col6"]
+                                              Conds:RS_18._col1=RS_406._col0(Inner),Output:["_col3","_col5","_col6"]
                                             <-Map 16 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_396]
+                                              SHUFFLE [RS_406]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_395] (rows=462000 width=1436)
+                                                Select Operator [SEL_405] (rows=462000 width=1436)
                                                   Output:["_col0","_col1"]
-                                                  Filter Operator [FIL_394] (rows=462000 width=1436)
+                                                  Filter Operator [FIL_404] (rows=462000 width=1436)
                                                     predicate:i_item_sk is not null
                                                     TableScan [TS_12] (rows=462000 width=1436)
                                                       default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_desc"]
@@ -291,22 +291,22 @@ Stage-0
                                               SHUFFLE [RS_18]
                                                 PartitionCols:_col1
                                                 Merge Join Operator [MERGEJOIN_360] (rows=633595212 width=88)
-                                                  Conds:RS_390._col0=RS_393._col0(Inner),Output:["_col1","_col3"]
+                                                  Conds:RS_400._col0=RS_403._col0(Inner),Output:["_col1","_col3"]
                                                 <-Map 11 [SIMPLE_EDGE] vectorized
-                                                  SHUFFLE [RS_390]
+                                                  SHUFFLE [RS_400]
                                                     PartitionCols:_col0
-                                                    Select Operator [SEL_389] (rows=575995635 width=88)
+                                                    Select Operator [SEL_399] (rows=575995635 width=88)
                                                       Output:["_col0","_col1"]
-                                                      Filter Operator [FIL_388] (rows=575995635 width=88)
+                                                      Filter Operator [FIL_398] (rows=575995635 width=88)
                                                         predicate:(ss_item_sk is not null and ss_sold_date_sk is not null)
                                                         TableScan [TS_6] (rows=575995635 width=88)
                                                           default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk"]
                                                 <-Map 15 [SIMPLE_EDGE] vectorized
-                                                  SHUFFLE [RS_393]
+                                                  SHUFFLE [RS_403]
                                                     PartitionCols:_col0
-                                                    Select Operator [SEL_392] (rows=36525 width=1119)
+                                                    Select Operator [SEL_402] (rows=36525 width=1119)
                                                       Output:["_col0","_col1"]
-                                                      Filter Operator [FIL_391] (rows=36525 width=1119)
+                                                      Filter Operator [FIL_401] (rows=36525 width=1119)
                                                         predicate:((d_year) IN (1999, 2000, 2001, 2002) and d_date_sk is not null)
                                                         TableScan [TS_9] (rows=73049 width=1119)
                                                           default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date","d_year"]
@@ -314,32 +314,32 @@ Stage-0
                           SHUFFLE [RS_241]
                             PartitionCols:_col1
                             Merge Join Operator [MERGEJOIN_367] (rows=158402938 width=135)
-                              Conds:RS_446._col0=RS_387._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
+                              Conds:RS_456._col0=RS_397._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                             <-Map 7 [SIMPLE_EDGE] vectorized
-                              SHUFFLE [RS_387]
+                              SHUFFLE [RS_397]
                                 PartitionCols:_col0
-                                Select Operator [SEL_385] (rows=18262 width=1119)
+                                Select Operator [SEL_395] (rows=18262 width=1119)
                                   Output:["_col0"]
-                                  Filter Operator [FIL_384] (rows=18262 width=1119)
+                                  Filter Operator [FIL_394] (rows=18262 width=1119)
                                     predicate:((d_moy = 1) and (d_year = 1999) 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_moy"]
                             <-Map 32 [SIMPLE_EDGE] vectorized
-                              SHUFFLE [RS_446]
+                              SHUFFLE [RS_456]
                                 PartitionCols:_col0
-                                Select Operator [SEL_445] (rows=144002668 width=135)
+                                Select Operator [SEL_455] (rows=144002668 width=135)
                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                  Filter Operator [FIL_444] (rows=144002668 width=135)
+                                  Filter Operator [FIL_454] (rows=144002668 width=135)
                                     predicate:(ws_bill_customer_sk is not null and ws_item_sk is not null and ws_sold_date_sk is not null)
                                     TableScan [TS_124] (rows=144002668 width=135)
                                       default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_bill_customer_sk","ws_quantity","ws_list_price"]
             <-Reducer 4 [CONTAINS]
-              Reduce Output Operator [RS_252]
-                Group By Operator [GBY_251] (rows=1 width=112)
+              Reduce Output Operator [RS_385]
+                Group By Operator [GBY_384] (rows=1 width=112)
                   Output:["_col0"],aggregations:["sum(_col0)"]
-                  Select Operator [SEL_123] (rows=383314495 width=135)
+                  Select Operator [SEL_382] (rows=383314495 width=135)
                     Output:["_col0"]
-                    Merge Join Operator [MERGEJOIN_378] (rows=383314495 width=135)
+                    Merge Join Operator [MERGEJOIN_381] (rows=383314495 width=135)
                       Conds:RS_120._col1=RS_121._col0(Inner),Output:["_col3","_col4"]
                     <-Reducer 22 [SIMPLE_EDGE]
                       SHUFFLE [RS_121]
@@ -351,60 +351,60 @@ Stage-0
                             Merge Join Operator [MERGEJOIN_377] (rows=316797606 width=433)
                               Conds:(Inner),(Inner),Output:["_col1","_col2","_col3"]
                             <-Reducer 30 [CUSTOM_SIMPLE_EDGE] vectorized
-                              PARTITION_ONLY_SHUFFLE [RS_439]
-                                 Please refer to the previous Group By Operator [GBY_438]
+                              PARTITION_ONLY_SHUFFLE [RS_449]
+                                 Please refer to the previous Group By Operator [GBY_448]
                             <-Reducer 21 [CUSTOM_SIMPLE_EDGE] vectorized
-                              PARTITION_ONLY_SHUFFLE [RS_432]
-                                Select Operator [SEL_431] (rows=1 width=120)
-                                  Filter Operator [FIL_430] (rows=1 width=120)
+                              PARTITION_ONLY_SHUFFLE [RS_442]
+                                Select Operator [SEL_441] (rows=1 width=120)
+                                  Filter Operator [FIL_440] (rows=1 width=120)
                                     predicate:(sq_count_check(_col0) <= 1)
-                                    Group By Operator [GBY_429] (rows=1 width=120)
+                                    Group By Operator [GBY_439] (rows=1 width=120)
                                       Output:["_col0"],aggregations:["count()"]
-                                      Select Operator [SEL_428] (rows=1 width=120)
-                                        Group By Operator [GBY_427] (rows=1 width=120)
+                                      Select Operator [SEL_438] (rows=1 width=120)
+                                        Group By Operator [GBY_437] (rows=1 width=120)
                                           Output:["_col0"],aggregations:["count(VALUE._col0)"]
                                         <-Reducer 20 [CUSTOM_SIMPLE_EDGE] vectorized
-                                          PARTITION_ONLY_SHUFFLE [RS_423]
-                                            Group By Operator [GBY_419] (rows=1 width=120)
+                                          PARTITION_ONLY_SHUFFLE [RS_433]
+                                            Group By Operator [GBY_429] (rows=1 width=120)
                                               Output:["_col0"],aggregations:["count(_col0)"]
-                                              Select Operator [SEL_415] (rows=348477374 width=88)
+                                              Select Operator [SEL_425] (rows=348477374 width=88)
                                                 Output:["_col0"]
-                                                 Please refer to the previous Group By Operator [GBY_414]
+                                                 Please refer to the previous Group By Operator [GBY_424]
                             <-Reducer 23 [CUSTOM_SIMPLE_EDGE] vectorized
-                              PARTITION_ONLY_SHUFFLE [RS_434]
-                                Group By Operator [GBY_433] (rows=1 width=224)
+                              PARTITION_ONLY_SHUFFLE [RS_444]
+                                Group By Operator [GBY_443] (rows=1 width=224)
                                   Output:["_col0"],aggregations:["max(VALUE._col0)"]
                                 <-Reducer 20 [CUSTOM_SIMPLE_EDGE] vectorized
-                                  PARTITION_ONLY_SHUFFLE [RS_424]
-                                    Group By Operator [GBY_420] (rows=1 width=224)
+                                  PARTITION_ONLY_SHUFFLE [RS_434]
+                                    Group By Operator [GBY_430] (rows=1 width=224)
                                       Output:["_col0"],aggregations:["max(_col1)"]
-                                      Select Operator [SEL_416] (rows=348477374 width=88)
+                                      Select Operator [SEL_426] (rows=348477374 width=88)
                                         Output:["_col1"]
-                                         Please refer to the previous Group By Operator [GBY_414]
+                                         Please refer to the previous Group By Operator [GBY_424]
                     <-Reducer 3 [SIMPLE_EDGE]
                       SHUFFLE [RS_120]
                         PartitionCols:_col1
                         Merge Join Operator [MERGEJOIN_375] (rows=348467716 width=135)
-                          Conds:RS_117._col2=RS_402._col0(Inner),Output:["_col1","_col3","_col4"]
+                          Conds:RS_117._col2=RS_412._col0(Inner),Output:["_col1","_col3","_col4"]
                         <-Reducer 14 [SIMPLE_EDGE] vectorized
-                          SHUFFLE [RS_402]
+                          SHUFFLE [RS_412]
                             PartitionCols:_col0
-                             Please refer to the previous Group By Operator [GBY_401]
+                             Please refer to the previous Group By Operator [GBY_411]
                         <-Reducer 2 [SIMPLE_EDGE]
                           SHUFFLE [RS_117]
                             PartitionCols:_col2
                             Merge Join Operator [MERGEJOIN_359] (rows=316788826 width=135)
-                              Conds:RS_383._col0=RS_386._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
+                              Conds:RS_393._col0=RS_396._col0(Inner),Output:["_col1","_col2","_col3","_col4"]
                             <-Map 7 [SIMPLE_EDGE] vectorized
-                              SHUFFLE [RS_386]
+                              SHUFFLE [RS_396]
                                 PartitionCols:_col0
-                                 Please refer to the previous Select Operator [SEL_385]
+                                 Please refer to the previous Select Operator [SEL_395]
                             <-Map 1 [SIMPLE_EDGE] vectorized
-                              SHUFFLE [RS_383]
+                              SHUFFLE [RS_393]
                                 PartitionCols:_col0
-                                Select Operator [SEL_382] (rows=287989836 width=135)
+                                Select Operator [SEL_392] (rows=287989836 width=135)
                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                  Filter Operator [FIL_381] (rows=287989836 width=135)
+                                  Filter Operator [FIL_391] (rows=287989836 width=135)
                                     predicate:(cs_bill_customer_sk is not null and cs_item_sk is not null and cs_sold_date_sk is not null)
                                     TableScan [TS_0] (rows=287989836 width=135)
                                       default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_bill_customer_sk","cs_item_sk","cs_quantity","cs_list_price"]

http://git-wip-us.apache.org/repos/asf/hive/blob/e8f283cf/ql/src/test/results/clientpositive/perf/tez/query33.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query33.q.out b/ql/src/test/results/clientpositive/perf/tez/query33.q.out
index 3618556..ad922e7 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query33.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query33.q.out
@@ -171,22 +171,22 @@ Stage-0
     limit:100
     Stage-1
       Reducer 7 vectorized
-      File Output Operator [FS_214]
-        Limit [LIM_213] (rows=100 width=108)
+      File Output Operator [FS_226]
+        Limit [LIM_225] (rows=100 width=108)
           Number of rows:100
-          Select Operator [SEL_212] (rows=335408073 width=108)
+          Select Operator [SEL_224] (rows=335408073 width=108)
             Output:["_col0","_col1"]
           <-Reducer 6 [SIMPLE_EDGE] vectorized
-            SHUFFLE [RS_211]
-              Group By Operator [GBY_210] (rows=335408073 width=108)
+            SHUFFLE [RS_223]
+              Group By Operator [GBY_222] (rows=335408073 width=108)
                 Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
               <-Union 5 [SIMPLE_EDGE]
                 <-Reducer 11 [CONTAINS] vectorized
-                  Reduce Output Operator [RS_226]
+                  Reduce Output Operator [RS_238]
                     PartitionCols:_col0
-                    Group By Operator [GBY_225] (rows=670816147 width=108)
+                    Group By Operator [GBY_237] (rows=670816147 width=108)
                       Output:["_col0","_col1"],aggregations:["sum(_col1)"],keys:_col0
-                      Group By Operator [GBY_224] (rows=95833781 width=135)
+                      Group By Operator [GBY_236] (rows=95833781 width=135)
                         Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                       <-Reducer 10 [SIMPLE_EDGE]
                         SHUFFLE [RS_109]
@@ -199,29 +199,29 @@ Stage-0
                               SHUFFLE [RS_104]
                                 PartitionCols:_col0
                                 Merge Join Operator [MERGEJOIN_173] (rows=508200 width=1436)
-                                  Conds:RS_187._col1=RS_193._col0(Inner),Output:["_col0","_col1"]
+                                  Conds:RS_199._col1=RS_205._col0(Inner),Output:["_col0","_col1"]
                                 <-Map 1 [SIMPLE_EDGE] vectorized
-                                  SHUFFLE [RS_187]
+                                  SHUFFLE [RS_199]
                                     PartitionCols:_col1
-                                    Select Operator [SEL_186] (rows=462000 width=1436)
+                                    Select Operator [SEL_198] (rows=462000 width=1436)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_185] (rows=462000 width=1436)
+                                      Filter Operator [FIL_197] (rows=462000 width=1436)
                                         predicate:(i_item_sk is not null and i_manufact_id is not null)
                                         TableScan [TS_0] (rows=462000 width=1436)
                                           default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_manufact_id"]
                                 <-Reducer 13 [ONE_TO_ONE_EDGE] vectorized
-                                  FORWARD [RS_193]
+                                  FORWARD [RS_205]
                                     PartitionCols:_col0
-                                    Group By Operator [GBY_192] (rows=115500 width=1436)
+                                    Group By Operator [GBY_204] (rows=115500 width=1436)
                                       Output:["_col0"],keys:KEY._col0
                                     <-Map 12 [SIMPLE_EDGE] vectorized
-                                      SHUFFLE [RS_191]
+                                      SHUFFLE [RS_203]
                                         PartitionCols:_col0
-                                        Group By Operator [GBY_190] (rows=231000 width=1436)
+                                        Group By Operator [GBY_202] (rows=231000 width=1436)
                                           Output:["_col0"],keys:i_manufact_id
-                                          Select Operator [SEL_189] (rows=231000 width=1436)
+                                          Select Operator [SEL_201] (rows=231000 width=1436)
                                             Output:["i_manufact_id"]
-                                            Filter Operator [FIL_188] (rows=231000 width=1436)
+                                            Filter Operator [FIL_200] (rows=231000 width=1436)
                                               predicate:((i_category = 'Books') and i_manufact_id is not null)
                                               TableScan [TS_3] (rows=462000 width=1436)
                                                 default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_category","i_manufact_id"]
@@ -231,13 +231,13 @@ Stage-0
                                 Select Operator [SEL_100] (rows=174243235 width=135)
                                   Output:["_col3","_col5"]
                                   Merge Join Operator [MERGEJOIN_181] (rows=174243235 width=135)
-                                    Conds:RS_97._col2=RS_206._col0(Inner),Output:["_col1","_col3"]
+                                    Conds:RS_97._col2=RS_218._col0(Inner),Output:["_col1","_col3"]
                                   <-Map 22 [SIMPLE_EDGE] vectorized
-                                    SHUFFLE [RS_206]
+                                    SHUFFLE [RS_218]
                                       PartitionCols:_col0
-                                      Select Operator [SEL_203] (rows=20000000 width=1014)
+                                      Select Operator [SEL_215] (rows=20000000 width=1014)
                                         Output:["_col0"]
-                                        Filter Operator [FIL_202] (rows=20000000 width=1014)
+                                        Filter Operator [FIL_214] (rows=20000000 width=1014)
                                           predicate:((ca_gmt_offset = -6) and ca_address_sk is not null)
                                           TableScan [TS_16] (rows=40000000 width=1014)
                                             default@customer_address,customer_address,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_gmt_offset"]
@@ -245,31 +245,31 @@ Stage-0
                                     SHUFFLE [RS_97]
                                       PartitionCols:_col2
                                       Merge Join Operator [MERGEJOIN_180] (rows=158402938 width=135)
-                                        Conds:RS_223._col0=RS_201._col0(Inner),Output:["_col1","_col2","_col3"]
+                                        Conds:RS_235._col0=RS_213._col0(Inner),Output:["_col1","_col2","_col3"]
                                       <-Map 17 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_201]
+                                        SHUFFLE [RS_213]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_198] (rows=18262 width=1119)
+                                          Select Operator [SEL_210] (rows=18262 width=1119)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_197] (rows=18262 width=1119)
+                                            Filter Operator [FIL_209] (rows=18262 width=1119)
                                               predicate:((d_moy = 3) and (d_year = 1999) and d_date_sk is not null)
                                               TableScan [TS_13] (rows=73049 width=1119)
                                                 default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
                                       <-Map 24 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_223]
+                                        SHUFFLE [RS_235]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_222] (rows=144002668 width=135)
+                                          Select Operator [SEL_234] (rows=144002668 width=135)
                                             Output:["_col0","_col1","_col2","_col3"]
-                                            Filter Operator [FIL_221] (rows=144002668 width=135)
+                                            Filter Operator [FIL_233] (rows=144002668 width=135)
                                               predicate:(ws_bill_addr_sk is not null and ws_item_sk is not null and ws_sold_date_sk is not null)
                                               TableScan [TS_85] (rows=144002668 width=135)
                                                 default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_item_sk","ws_bill_addr_sk","ws_ext_sales_price"]
                 <-Reducer 4 [CONTAINS] vectorized
-                  Reduce Output Operator [RS_209]
+                  Reduce Output Operator [RS_221]
                     PartitionCols:_col0
-                    Group By Operator [GBY_208] (rows=670816147 width=108)
+                    Group By Operator [GBY_220] (rows=670816147 width=108)
                       Output:["_col0","_col1"],aggregations:["sum(_col1)"],keys:_col0
-                      Group By Operator [GBY_207] (rows=383325119 width=88)
+                      Group By Operator [GBY_219] (rows=383325119 width=88)
                         Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                       <-Reducer 3 [SIMPLE_EDGE]
                         SHUFFLE [RS_34]
@@ -288,35 +288,35 @@ Stage-0
                                 Select Operator [SEL_25] (rows=696954748 width=88)
                                   Output:["_col3","_col5"]
                                   Merge Join Operator [MERGEJOIN_175] (rows=696954748 width=88)
-                                    Conds:RS_22._col2=RS_204._col0(Inner),Output:["_col1","_col3"]
+                                    Conds:RS_22._col2=RS_216._col0(Inner),Output:["_col1","_col3"]
                                   <-Map 22 [SIMPLE_EDGE] vectorized
-                                    SHUFFLE [RS_204]
+                                    SHUFFLE [RS_216]
                                       PartitionCols:_col0
-                                       Please refer to the previous Select Operator [SEL_203]
+                                       Please refer to the previous Select Operator [SEL_215]
                                   <-Reducer 15 [SIMPLE_EDGE]
                                     SHUFFLE [RS_22]
                                       PartitionCols:_col2
                                       Merge Join Operator [MERGEJOIN_174] (rows=633595212 width=88)
-                                        Conds:RS_196._col0=RS_199._col0(Inner),Output:["_col1","_col2","_col3"]
+                                        Conds:RS_208._col0=RS_211._col0(Inner),Output:["_col1","_col2","_col3"]
                                       <-Map 17 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_199]
+                                        SHUFFLE [RS_211]
                                           PartitionCols:_col0
-                                           Please refer to the previous Select Operator [SEL_198]
+                                           Please refer to the previous Select Operator [SEL_210]
                                       <-Map 14 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_196]
+                                        SHUFFLE [RS_208]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_195] (rows=575995635 width=88)
+                                          Select Operator [SEL_207] (rows=575995635 width=88)
                                             Output:["_col0","_col1","_col2","_col3"]
-                                            Filter Operator [FIL_194] (rows=575995635 width=88)
+                                            Filter Operator [FIL_206] (rows=575995635 width=88)
                                               predicate:(ss_addr_sk is not null and ss_item_sk is not null and ss_sold_date_sk is not null)
                                               TableScan [TS_10] (rows=575995635 width=88)
                                                 default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_addr_sk","ss_ext_sales_price"]
                 <-Reducer 9 [CONTAINS] vectorized
-                  Reduce Output Operator [RS_220]
+                  Reduce Output Operator [RS_232]
                     PartitionCols:_col0
-                    Group By Operator [GBY_219] (rows=670816147 width=108)
+                    Group By Operator [GBY_231] (rows=670816147 width=108)
                       Output:["_col0","_col1"],aggregations:["sum(_col1)"],keys:_col0
-                      Group By Operator [GBY_218] (rows=191657247 width=135)
+                      Group By Operator [GBY_230] (rows=191657247 width=135)
                         Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
                       <-Reducer 8 [SIMPLE_EDGE]
                         SHUFFLE [RS_71]
@@ -335,26 +335,26 @@ Stage-0
                                 Select Operator [SEL_62] (rows=348467716 width=135)
                                   Output:["_col4","_col5"]
                                   Merge Join Operator [MERGEJOIN_178] (rows=348467716 width=135)
-                                    Conds:RS_59._col1=RS_205._col0(Inner),Output:["_col2","_col3"]
+                                    Conds:RS_59._col1=RS_217._col0(Inner),Output:["_col2","_col3"]
                                   <-Map 22 [SIMPLE_EDGE] vectorized
-                                    SHUFFLE [RS_205]
+                                    SHUFFLE [RS_217]
                                       PartitionCols:_col0
-                                       Please refer to the previous Select Operator [SEL_203]
+                                       Please refer to the previous Select Operator [SEL_215]
                                   <-Reducer 18 [SIMPLE_EDGE]
                                     SHUFFLE [RS_59]
                                       PartitionCols:_col1
                                       Merge Join Operator [MERGEJOIN_177] (rows=316788826 width=135)
-                                        Conds:RS_217._col0=RS_200._col0(Inner),Output:["_col1","_col2","_col3"]
+                                        Conds:RS_229._col0=RS_212._col0(Inner),Output:["_col1","_col2","_col3"]
                                       <-Map 17 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_200]
+                                        SHUFFLE [RS_212]
                                           PartitionCols:_col0
-                                           Please refer to the previous Select Operator [SEL_198]
+                                           Please refer to the previous Select Operator [SEL_210]
                                       <-Map 23 [SIMPLE_EDGE] vectorized
-                                        SHUFFLE [RS_217]
+                                        SHUFFLE [RS_229]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_216] (rows=287989836 width=135)
+                                          Select Operator [SEL_228] (rows=287989836 width=135)
                                             Output:["_col0","_col1","_col2","_col3"]
-                                            Filter Operator [FIL_215] (rows=287989836 width=135)
+                                            Filter Operator [FIL_227] (rows=287989836 width=135)
                                               predicate:(cs_bill_addr_sk is not null and cs_item_sk is not null and cs_sold_date_sk is not null)
                                               TableScan [TS_47] (rows=287989836 width=135)
                                                 default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_bill_addr_sk","cs_item_sk","cs_ext_sales_price"]

http://git-wip-us.apache.org/repos/asf/hive/blob/e8f283cf/ql/src/test/results/clientpositive/perf/tez/query38.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/tez/query38.q.out b/ql/src/test/results/clientpositive/perf/tez/query38.q.out
index 770e2ca..e3040e4 100644
--- a/ql/src/test/results/clientpositive/perf/tez/query38.q.out
+++ b/ql/src/test/results/clientpositive/perf/tez/query38.q.out
@@ -62,33 +62,33 @@ Stage-0
     limit:100
     Stage-1
       Reducer 7 vectorized
-      File Output Operator [FS_147]
-        Limit [LIM_146] (rows=1 width=16)
+      File Output Operator [FS_165]
+        Limit [LIM_164] (rows=1 width=16)
           Number of rows:100
-          Group By Operator [GBY_145] (rows=1 width=16)
+          Group By Operator [GBY_163] (rows=1 width=16)
             Output:["_col0"],aggregations:["count(VALUE._col0)"]
           <-Reducer 6 [CUSTOM_SIMPLE_EDGE] vectorized
-            PARTITION_ONLY_SHUFFLE [RS_144]
-              Group By Operator [GBY_143] (rows=1 width=16)
+            PARTITION_ONLY_SHUFFLE [RS_162]
+              Group By Operator [GBY_161] (rows=1 width=16)
                 Output:["_col0"],aggregations:["count()"]
-                Select Operator [SEL_142] (rows=1 width=108)
-                  Filter Operator [FIL_141] (rows=1 width=108)
+                Select Operator [SEL_160] (rows=1 width=108)
+                  Filter Operator [FIL_159] (rows=1 width=108)
                     predicate:(_col3 = 3L)
-                    Select Operator [SEL_140] (rows=152458212 width=108)
+                    Select Operator [SEL_158] (rows=152458212 width=108)
                       Output:["_col3"]
-                      Group By Operator [GBY_139] (rows=152458212 width=108)
+                      Group By Operator [GBY_157] (rows=152458212 width=108)
                         Output:["_col0","_col1","_col2","_col3"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2
                       <-Union 5 [SIMPLE_EDGE]
                         <-Reducer 11 [CONTAINS] vectorized
-                          Reduce Output Operator [RS_155]
+                          Reduce Output Operator [RS_173]
                             PartitionCols:_col0, _col1, _col2
-                            Group By Operator [GBY_154] (rows=304916424 width=108)
+                            Group By Operator [GBY_172] (rows=304916424 width=108)
                               Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2
-                              Group By Operator [GBY_153] (rows=87116929 width=135)
+                              Group By Operator [GBY_171] (rows=87116929 width=135)
                                 Output:["_col0","_col1","_col2","_col3"],aggregations:["count()"],keys:_col1, _col0, _col2
-                                Select Operator [SEL_152] (rows=174233858 width=135)
+                                Select Operator [SEL_170] (rows=174233858 width=135)
                                   Output:["_col0","_col1","_col2"]
-                                  Group By Operator [GBY_151] (rows=174233858 width=135)
+                                  Group By Operator [GBY_169] (rows=174233858 width=135)
                                     Output:["_col0","_col1","_col2"],keys:KEY._col0, KEY._col1, KEY._col2
                                   <-Reducer 10 [SIMPLE_EDGE]
                                     SHUFFLE [RS_42]
@@ -96,13 +96,13 @@ Stage-0
                                       Group By Operator [GBY_41] (rows=348467716 width=135)
                                         Output:["_col0","_col1","_col2"],keys:_col7, _col6, _col3
                                         Merge Join Operator [MERGEJOIN_118] (rows=348467716 width=135)
-                                          Conds:RS_37._col1=RS_132._col0(Inner),Output:["_col3","_col6","_col7"]
+                                          Conds:RS_37._col1=RS_150._col0(Inner),Output:["_col3","_col6","_col7"]
                                         <-Map 15 [SIMPLE_EDGE] vectorized
-                                          SHUFFLE [RS_132]
+                                          SHUFFLE [RS_150]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_130] (rows=80000000 width=860)
+                                            Select Operator [SEL_148] (rows=80000000 width=860)
                                               Output:["_col0","_col1","_col2"]
-                                              Filter Operator [FIL_129] (rows=80000000 width=860)
+                                              Filter Operator [FIL_147] (rows=80000000 width=860)
                                                 predicate:c_customer_sk is not null
                                                 TableScan [TS_6] (rows=80000000 width=860)
                                                   default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk","c_first_name","c_last_name"]
@@ -110,35 +110,35 @@ Stage-0
                                           SHUFFLE [RS_37]
                                             PartitionCols:_col1
                                             Merge Join Operator [MERGEJOIN_117] (rows=316788826 width=135)
-                                              Conds:RS_150._col0=RS_127._col0(Inner),Output:["_col1","_col3"]
+                                              Conds:RS_168._col0=RS_145._col0(Inner),Output:["_col1","_col3"]
                                             <-Map 8 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_127]
+                                              SHUFFLE [RS_145]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_125] (rows=8116 width=1119)
+                                                Select Operator [SEL_143] (rows=8116 width=1119)
                                                   Output:["_col0","_col1"]
-                                                  Filter Operator [FIL_124] (rows=8116 width=1119)
+                                                  Filter Operator [FIL_142] (rows=8116 width=1119)
                                                     predicate:(d_date_sk is not null and d_month_seq BETWEEN 1212 AND 1223)
                                                     TableScan [TS_3] (rows=73049 width=1119)
                                                       default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date","d_month_seq"]
                                             <-Map 16 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_150]
+                                              SHUFFLE [RS_168]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_149] (rows=287989836 width=135)
+                                                Select Operator [SEL_167] (rows=287989836 width=135)
                                                   Output:["_col0","_col1"]
-                                                  Filter Operator [FIL_148] (rows=287989836 width=135)
+                                                  Filter Operator [FIL_166] (rows=287989836 width=135)
                                                     predicate:(cs_bill_customer_sk is not null and cs_sold_date_sk is not null)
                                                     TableScan [TS_25] (rows=287989836 width=135)
                                                       default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_bill_customer_sk"]
                         <-Reducer 14 [CONTAINS] vectorized
-                          Reduce Output Operator [RS_163]
+                          Reduce Output Operator [RS_181]
                             PartitionCols:_col0, _col1, _col2
-                            Group By Operator [GBY_162] (rows=304916424 width=108)
+                            Group By Operator [GBY_180] (rows=304916424 width=108)
                               Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2
-                              Group By Operator [GBY_161] (rows=43560808 width=135)
+                              Group By Operator [GBY_179] (rows=43560808 width=135)
                                 Output:["_col0","_col1","_col2","_col3"],aggregations:["count()"],keys:_col1, _col0, _col2
-                                Select Operator [SEL_160] (rows=87121617 width=135)
+                                Select Operator [SEL_178] (rows=87121617 width=135)
                                   Output:["_col0","_col1","_col2"]
-                                  Group By Operator [GBY_159] (rows=87121617 width=135)
+                                  Group By Operator [GBY_177] (rows=87121617 width=135)
                                     Output:["_col0","_col1","_col2"],keys:KEY._col0, KEY._col1, KEY._col2
                                   <-Reducer 13 [SIMPLE_EDGE]
                                     SHUFFLE [RS_68]
@@ -146,39 +146,39 @@ Stage-0
                                       Group By Operator [GBY_67] (rows=174243235 width=135)
                                         Output:["_col0","_col1","_col2"],keys:_col7, _col6, _col3
                                         Merge Join Operator [MERGEJOIN_120] (rows=174243235 width=135)
-                                          Conds:RS_63._col1=RS_133._col0(Inner),Output:["_col3","_col6","_col7"]
+                                          Conds:RS_63._col1=RS_151._col0(Inner),Output:["_col3","_col6","_col7"]
                                         <-Map 15 [SIMPLE_EDGE] vectorized
-                                          SHUFFLE [RS_133]
+                                          SHUFFLE [RS_151]
                                             PartitionCols:_col0
-                                             Please refer to the previous Select Operator [SEL_130]
+                                             Please refer to the previous Select Operator [SEL_148]
                                         <-Reducer 12 [SIMPLE_EDGE]
                                           SHUFFLE [RS_63]
                                             PartitionCols:_col1
                                             Merge Join Operator [MERGEJOIN_119] (rows=158402938 width=135)
-                                              Conds:RS_158._col0=RS_128._col0(Inner),Output:["_col1","_col3"]
+                                              Conds:RS_176._col0=RS_146._col0(Inner),Output:["_col1","_col3"]
                                             <-Map 8 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_128]
+                                              SHUFFLE [RS_146]
                                                 PartitionCols:_col0
-                                                 Please refer to the previous Select Operator [SEL_125]
+                                                 Please refer to the previous Select Operator [SEL_143]
                                             <-Map 17 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_158]
+                                              SHUFFLE [RS_176]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_157] (rows=144002668 width=135)
+                                                Select Operator [SEL_175] (rows=144002668 width=135)
                                                   Output:["_col0","_col1"]
-                                                  Filter Operator [FIL_156] (rows=144002668 width=135)
+                                                  Filter Operator [FIL_174] (rows=144002668 width=135)
                                                     predicate:(ws_bill_customer_sk is not null and ws_sold_date_sk is not null)
                                                     TableScan [TS_51] (rows=144002668 width=135)
                                                       default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_bill_customer_sk"]
                         <-Reducer 4 [CONTAINS] vectorized
-                          Reduce Output Operator [RS_138]
+                          Reduce Output Operator [RS_156]
                             PartitionCols:_col0, _col1, _col2
-                            Group By Operator [GBY_137] (rows=304916424 width=108)
+                            Group By Operator [GBY_155] (rows=304916424 width=108)
                               Output:["_col0","_col1","_col2","_col3"],aggregations:["count(_col3)"],keys:_col0, _col1, _col2
-                              Group By Operator [GBY_136] (rows=174238687 width=88)
+                              Group By Operator [GBY_154] (rows=174238687 width=88)
                                 Output:["_col0","_col1","_col2","_col3"],aggregations:["count()"],keys:_col1, _col0, _col2
-                                Select Operator [SEL_135] (rows=348477374 width=88)
+                                Select Operator [SEL_153] (rows=348477374 width=88)
                                   Output:["_col0","_col1","_col2"]
-                                  Group By Operator [GBY_134] (rows=348477374 width=88)
+                                  Group By Operator [GBY_152] (rows=348477374 width=88)
                                     Output:["_col0","_col1","_col2"],keys:KEY._col0, KEY._col1, KEY._col2
                                   <-Reducer 3 [SIMPLE_EDGE]
                                     SHUFFLE [RS_17]
@@ -186,26 +186,26 @@ Stage-0
                                       Group By Operator [GBY_16] (rows=696954748 width=88)
                                         Output:["_col0","_col1","_col2"],keys:_col7, _col6, _col3
                                         Merge Join Operator [MERGEJOIN_116] (rows=696954748 width=88)
-                                          Conds:RS_12._col1=RS_131._col0(Inner),Output:["_col3","_col6","_col7"]
+                                          Conds:RS_12._col1=RS_149._col0(Inner),Output:["_col3","_col6","_col7"]
                                         <-Map 15 [SIMPLE_EDGE] vectorized
-                                          SHUFFLE [RS_131]
+                                          SHUFFLE [RS_149]
                                             PartitionCols:_col0
-                                             Please refer to the previous Select Operator [SEL_130]
+                                             Please refer to the previous Select Operator [SEL_148]
                                         <-Reducer 2 [SIMPLE_EDGE]
                                           SHUFFLE [RS_12]
                                             PartitionCols:_col1
                                             Merge Join Operator [MERGEJOIN_115] (rows=633595212 width=88)
-                                              Conds:RS_123._col0=RS_126._col0(Inner),Output:["_col1","_col3"]
+                                              Conds:RS_141._col0=RS_144._col0(Inner),Output:["_col1","_col3"]
                                             <-Map 8 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_126]
+                                              SHUFFLE [RS_144]
                                                 PartitionCols:_col0
-                                                 Please refer to the previous Select Operator [SEL_125]
+                                                 Please refer to the previous Select Operator [SEL_143]
                                             <-Map 1 [SIMPLE_EDGE] vectorized
-                                              SHUFFLE [RS_123]
+                                              SHUFFLE [RS_141]
                                                 PartitionCols:_col0
-                                                Select Operator [SEL_122] (rows=575995635 width=88)
+                                                Select Operator [SEL_140] (rows=575995635 width=88)
                                                   Output:["_col0","_col1"]
-                                                  Filter Operator [FIL_121] (rows=575995635 width=88)
+                                                  Filter Operator [FIL_139] (rows=575995635 width=88)
                                                     predicate:(ss_customer_sk is not null and ss_sold_date_sk is not null)
                                                     TableScan [TS_0] (rows=575995635 width=88)
                                                       default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_customer_sk"]