You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by we...@apache.org on 2017/05/24 23:52:24 UTC

[50/54] [abbrv] hive git commit: HIVE-15160: Can't order by an unselected column (Pengcheng Xiong, reviewed by Ashutosh Chauhan)

http://git-wip-us.apache.org/repos/asf/hive/blob/a74c1e7c/ql/src/test/results/clientpositive/perf/query64.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query64.q.out b/ql/src/test/results/clientpositive/perf/query64.q.out
index 7f97e39..0d2fc21 100644
--- a/ql/src/test/results/clientpositive/perf/query64.q.out
+++ b/ql/src/test/results/clientpositive/perf/query64.q.out
@@ -53,16 +53,16 @@ Stage-0
     limit:-1
     Stage-1
       Reducer 11
-      File Output Operator [FS_263]
+      File Output Operator [FS_264]
         Select Operator [SEL_262] (rows=273897192 width=88)
           Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20"]
         <-Reducer 10 [SIMPLE_EDGE]
           SHUFFLE [RS_261]
             Select Operator [SEL_260] (rows=273897192 width=88)
-              Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col20"]
+              Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18"]
               Filter Operator [FIL_259] (rows=273897192 width=88)
                 predicate:(_col30 <= _col13)
-                Merge Join Operator [MERGEJOIN_610] (rows=821691577 width=88)
+                Merge Join Operator [MERGEJOIN_611] (rows=821691577 width=88)
                   Conds:RS_256._col2, _col1, _col3=RS_257._col2, _col1, _col3(Inner),Output:["_col0","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col13","_col14","_col15","_col16","_col30","_col31","_col32","_col33"]
                 <-Reducer 19 [SIMPLE_EDGE]
                   SHUFFLE [RS_257]
@@ -80,79 +80,79 @@ Stage-0
                               Output:["_col7","_col9","_col14","_col15","_col16","_col17","_col21","_col22","_col23","_col24","_col26","_col27","_col45","_col46","_col47","_col48","_col51"]
                               Filter Operator [FIL_249] (rows=1493984654 width=88)
                                 predicate:(_col56 <> _col19)
-                                Merge Join Operator [MERGEJOIN_609] (rows=1493984654 width=88)
+                                Merge Join Operator [MERGEJOIN_610] (rows=1493984654 width=88)
                                   Conds:RS_246._col39=RS_247._col0(Inner),Output:["_col7","_col9","_col14","_col15","_col16","_col17","_col19","_col21","_col22","_col23","_col24","_col26","_col27","_col45","_col46","_col47","_col48","_col51","_col56"]
                                 <-Map 40 [SIMPLE_EDGE]
                                   SHUFFLE [RS_247]
                                     PartitionCols:_col0
                                     Select Operator [SEL_227] (rows=1861800 width=385)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_573] (rows=1861800 width=385)
+                                      Filter Operator [FIL_574] (rows=1861800 width=385)
                                         predicate:cd_demo_sk is not null
                                         TableScan [TS_22] (rows=1861800 width=385)
                                           default@customer_demographics,cd2,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status"]
                                 <-Reducer 17 [SIMPLE_EDGE]
                                   SHUFFLE [RS_246]
                                     PartitionCols:_col39
-                                    Merge Join Operator [MERGEJOIN_608] (rows=1358167838 width=88)
+                                    Merge Join Operator [MERGEJOIN_609] (rows=1358167838 width=88)
                                       Conds:RS_243._col0=RS_244._col18(Inner),Output:["_col7","_col9","_col14","_col15","_col16","_col17","_col19","_col21","_col22","_col23","_col24","_col26","_col27","_col39","_col45","_col46","_col47","_col48","_col51"]
                                     <-Reducer 16 [SIMPLE_EDGE]
                                       SHUFFLE [RS_243]
                                         PartitionCols:_col0
-                                        Merge Join Operator [MERGEJOIN_597] (rows=128840811 width=860)
+                                        Merge Join Operator [MERGEJOIN_598] (rows=128840811 width=860)
                                           Conds:RS_240._col1=RS_241._col0(Inner),Output:["_col0","_col7","_col9","_col14","_col15","_col16","_col17","_col19"]
                                         <-Map 40 [SIMPLE_EDGE]
                                           SHUFFLE [RS_241]
                                             PartitionCols:_col0
                                             Select Operator [SEL_152] (rows=1861800 width=385)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_561] (rows=1861800 width=385)
+                                              Filter Operator [FIL_562] (rows=1861800 width=385)
                                                 predicate:cd_demo_sk is not null
                                                  Please refer to the previous TableScan [TS_22]
                                         <-Reducer 15 [SIMPLE_EDGE]
                                           SHUFFLE [RS_240]
                                             PartitionCols:_col1
-                                            Merge Join Operator [MERGEJOIN_596] (rows=117128008 width=860)
+                                            Merge Join Operator [MERGEJOIN_597] (rows=117128008 width=860)
                                               Conds:RS_237._col3=RS_238._col0(Inner),Output:["_col0","_col1","_col7","_col9","_col14","_col15","_col16","_col17"]
                                             <-Map 39 [SIMPLE_EDGE]
                                               SHUFFLE [RS_238]
                                                 PartitionCols:_col0
                                                 Select Operator [SEL_149] (rows=40000000 width=1014)
                                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_560] (rows=40000000 width=1014)
+                                                  Filter Operator [FIL_561] (rows=40000000 width=1014)
                                                     predicate:ca_address_sk is not null
                                                     TableScan [TS_19] (rows=40000000 width=1014)
                                                       default@customer_address,ad2,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_street_number","ca_street_name","ca_city","ca_zip"]
                                             <-Reducer 14 [SIMPLE_EDGE]
                                               SHUFFLE [RS_237]
                                                 PartitionCols:_col3
-                                                Merge Join Operator [MERGEJOIN_595] (rows=106480005 width=860)
+                                                Merge Join Operator [MERGEJOIN_596] (rows=106480005 width=860)
                                                   Conds:RS_234._col2=RS_235._col0(Inner),Output:["_col0","_col1","_col3","_col7","_col9"]
                                                 <-Reducer 13 [SIMPLE_EDGE]
                                                   SHUFFLE [RS_234]
                                                     PartitionCols:_col2
-                                                    Merge Join Operator [MERGEJOIN_593] (rows=96800003 width=860)
+                                                    Merge Join Operator [MERGEJOIN_594] (rows=96800003 width=860)
                                                       Conds:RS_231._col4=RS_232._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col7","_col9"]
                                                     <-Map 20 [SIMPLE_EDGE]
                                                       SHUFFLE [RS_232]
                                                         PartitionCols:_col0
                                                         Select Operator [SEL_136] (rows=73049 width=1119)
                                                           Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_557] (rows=73049 width=1119)
+                                                          Filter Operator [FIL_558] (rows=73049 width=1119)
                                                             predicate:d_date_sk is not null
                                                             TableScan [TS_3] (rows=73049 width=1119)
                                                               default@date_dim,d2,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
                                                     <-Reducer 12 [SIMPLE_EDGE]
                                                       SHUFFLE [RS_231]
                                                         PartitionCols:_col4
-                                                        Merge Join Operator [MERGEJOIN_592] (rows=88000001 width=860)
+                                                        Merge Join Operator [MERGEJOIN_593] (rows=88000001 width=860)
                                                           Conds:RS_228._col5=RS_229._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col7"]
                                                         <-Map 20 [SIMPLE_EDGE]
                                                           SHUFFLE [RS_229]
                                                             PartitionCols:_col0
                                                             Select Operator [SEL_133] (rows=73049 width=1119)
                                                               Output:["_col0","_col1"]
-                                                              Filter Operator [FIL_556] (rows=73049 width=1119)
+                                                              Filter Operator [FIL_557] (rows=73049 width=1119)
                                                                 predicate:d_date_sk is not null
                                                                  Please refer to the previous TableScan [TS_3]
                                                         <-Map 1 [SIMPLE_EDGE]
@@ -160,21 +160,21 @@ Stage-0
                                                             PartitionCols:_col5
                                                             Select Operator [SEL_130] (rows=80000000 width=860)
                                                               Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                                              Filter Operator [FIL_555] (rows=80000000 width=860)
+                                                              Filter Operator [FIL_556] (rows=80000000 width=860)
                                                                 predicate:(c_customer_sk is not null and c_first_sales_date_sk is not null and c_first_shipto_date_sk is not null and c_current_cdemo_sk is not null and c_current_hdemo_sk is not null and c_current_addr_sk is not null)
                                                                 TableScan [TS_0] (rows=80000000 width=860)
                                                                   default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk","c_current_cdemo_sk","c_current_hdemo_sk","c_current_addr_sk","c_first_shipto_date_sk","c_first_sales_date_sk"]
                                                 <-Reducer 36 [SIMPLE_EDGE]
                                                   SHUFFLE [RS_235]
                                                     PartitionCols:_col0
-                                                    Merge Join Operator [MERGEJOIN_594] (rows=7920 width=107)
+                                                    Merge Join Operator [MERGEJOIN_595] (rows=7920 width=107)
                                                       Conds:RS_143._col1=RS_144._col0(Inner),Output:["_col0"]
                                                     <-Map 33 [SIMPLE_EDGE]
                                                       SHUFFLE [RS_143]
                                                         PartitionCols:_col1
                                                         Select Operator [SEL_139] (rows=7200 width=107)
                                                           Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_558] (rows=7200 width=107)
+                                                          Filter Operator [FIL_559] (rows=7200 width=107)
                                                             predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
                                                             TableScan [TS_9] (rows=7200 width=107)
                                                               default@household_demographics,hd2,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
@@ -183,7 +183,7 @@ Stage-0
                                                         PartitionCols:_col0
                                                         Select Operator [SEL_142] (rows=20 width=12)
                                                           Output:["_col0"]
-                                                          Filter Operator [FIL_559] (rows=20 width=12)
+                                                          Filter Operator [FIL_560] (rows=20 width=12)
                                                             predicate:ib_income_band_sk is not null
                                                             TableScan [TS_12] (rows=20 width=12)
                                                               default@income_band,ib2,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk"]
@@ -192,94 +192,94 @@ Stage-0
                                         PartitionCols:_col18
                                         Select Operator [SEL_224] (rows=1234698008 width=88)
                                           Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col18","_col19","_col25","_col26","_col27","_col28","_col31"]
-                                          Merge Join Operator [MERGEJOIN_607] (rows=1234698008 width=88)
+                                          Merge Join Operator [MERGEJOIN_608] (rows=1234698008 width=88)
                                             Conds:RS_221._col13=RS_222._col0(Inner),Output:["_col10","_col11","_col17","_col18","_col19","_col20","_col23","_col28","_col29","_col31","_col32","_col33","_col34"]
                                           <-Map 39 [SIMPLE_EDGE]
                                             SHUFFLE [RS_222]
                                               PartitionCols:_col0
                                               Select Operator [SEL_208] (rows=40000000 width=1014)
                                                 Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                Filter Operator [FIL_572] (rows=40000000 width=1014)
+                                                Filter Operator [FIL_573] (rows=40000000 width=1014)
                                                   predicate:ca_address_sk is not null
                                                    Please refer to the previous TableScan [TS_19]
                                           <-Reducer 31 [SIMPLE_EDGE]
                                             SHUFFLE [RS_221]
                                               PartitionCols:_col13
-                                              Merge Join Operator [MERGEJOIN_606] (rows=1122452711 width=88)
+                                              Merge Join Operator [MERGEJOIN_607] (rows=1122452711 width=88)
                                                 Conds:RS_218._col14=RS_219._col0(Inner),Output:["_col10","_col11","_col13","_col17","_col18","_col19","_col20","_col23","_col28","_col29"]
                                               <-Map 55 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_219]
                                                   PartitionCols:_col0
                                                   Select Operator [SEL_205] (rows=1704 width=1910)
                                                     Output:["_col0","_col1","_col2"]
-                                                    Filter Operator [FIL_571] (rows=1704 width=1910)
+                                                    Filter Operator [FIL_572] (rows=1704 width=1910)
                                                       predicate:(s_store_sk is not null and s_store_name is not null and s_zip is not null)
                                                       TableScan [TS_75] (rows=1704 width=1910)
                                                         default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_name","s_zip"]
                                               <-Reducer 30 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_218]
                                                   PartitionCols:_col14
-                                                  Merge Join Operator [MERGEJOIN_605] (rows=1020411534 width=88)
+                                                  Merge Join Operator [MERGEJOIN_606] (rows=1020411534 width=88)
                                                     Conds:RS_215._col9=RS_216._col0(Inner),Output:["_col10","_col11","_col13","_col14","_col17","_col18","_col19","_col20","_col23"]
                                                   <-Reducer 29 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_215]
                                                       PartitionCols:_col9
-                                                      Merge Join Operator [MERGEJOIN_604] (rows=927646829 width=88)
+                                                      Merge Join Operator [MERGEJOIN_605] (rows=927646829 width=88)
                                                         Conds:RS_212._col0=RS_213._col9(Inner),Output:["_col9","_col10","_col11","_col13","_col14","_col17","_col18","_col19","_col20","_col23"]
                                                       <-Reducer 28 [SIMPLE_EDGE]
                                                         SHUFFLE [RS_213]
                                                           PartitionCols:_col9
                                                           Select Operator [SEL_186] (rows=843315281 width=88)
                                                             Output:["_col6","_col7","_col8","_col9","_col10","_col11","_col14","_col15","_col16","_col17","_col20"]
-                                                            Merge Join Operator [MERGEJOIN_602] (rows=843315281 width=88)
+                                                            Merge Join Operator [MERGEJOIN_603] (rows=843315281 width=88)
                                                               Conds:RS_183._col7=RS_184._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col9","_col10","_col11","_col12","_col15"]
                                                             <-Map 48 [SIMPLE_EDGE]
                                                               SHUFFLE [RS_184]
                                                                 PartitionCols:_col0
                                                                 Select Operator [SEL_173] (rows=2300 width=1179)
                                                                   Output:["_col0"]
-                                                                  Filter Operator [FIL_568] (rows=2300 width=1179)
+                                                                  Filter Operator [FIL_569] (rows=2300 width=1179)
                                                                     predicate:p_promo_sk is not null
                                                                     TableScan [TS_43] (rows=2300 width=1179)
                                                                       default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk"]
                                                             <-Reducer 27 [SIMPLE_EDGE]
                                                               SHUFFLE [RS_183]
                                                                 PartitionCols:_col7
-                                                                Merge Join Operator [MERGEJOIN_601] (rows=766650239 width=88)
+                                                                Merge Join Operator [MERGEJOIN_602] (rows=766650239 width=88)
                                                                   Conds:RS_180._col0=RS_181._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col15"]
                                                                 <-Map 20 [SIMPLE_EDGE]
                                                                   SHUFFLE [RS_181]
                                                                     PartitionCols:_col0
                                                                     Select Operator [SEL_170] (rows=36524 width=1119)
                                                                       Output:["_col0"]
-                                                                      Filter Operator [FIL_567] (rows=36524 width=1119)
+                                                                      Filter Operator [FIL_568] (rows=36524 width=1119)
                                                                         predicate:((d_year = 2001) and d_date_sk is not null)
                                                                          Please refer to the previous TableScan [TS_3]
                                                                 <-Reducer 45 [SIMPLE_EDGE]
                                                                   SHUFFLE [RS_180]
                                                                     PartitionCols:_col0
-                                                                    Merge Join Operator [MERGEJOIN_600] (rows=696954748 width=88)
+                                                                    Merge Join Operator [MERGEJOIN_601] (rows=696954748 width=88)
                                                                       Conds:RS_177._col1, _col8=RS_178._col0, _col1(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col15"]
                                                                     <-Map 47 [SIMPLE_EDGE]
                                                                       SHUFFLE [RS_178]
                                                                         PartitionCols:_col0, _col1
                                                                         Select Operator [SEL_167] (rows=57591150 width=77)
                                                                           Output:["_col0","_col1"]
-                                                                          Filter Operator [FIL_566] (rows=57591150 width=77)
+                                                                          Filter Operator [FIL_567] (rows=57591150 width=77)
                                                                             predicate:(sr_item_sk is not null and sr_ticket_number is not null)
                                                                             TableScan [TS_37] (rows=57591150 width=77)
                                                                               default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_item_sk","sr_ticket_number"]
                                                                     <-Reducer 44 [SIMPLE_EDGE]
                                                                       SHUFFLE [RS_177]
                                                                         PartitionCols:_col1, _col8
-                                                                        Merge Join Operator [MERGEJOIN_599] (rows=633595212 width=88)
+                                                                        Merge Join Operator [MERGEJOIN_600] (rows=633595212 width=88)
                                                                           Conds:RS_174._col1=RS_175._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col15"]
                                                                         <-Map 41 [SIMPLE_EDGE]
                                                                           SHUFFLE [RS_174]
                                                                             PartitionCols:_col1
                                                                             Select Operator [SEL_161] (rows=575995635 width=88)
                                                                               Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11"]
-                                                                              Filter Operator [FIL_564] (rows=575995635 width=88)
+                                                                              Filter Operator [FIL_565] (rows=575995635 width=88)
                                                                                 predicate:(ss_item_sk is not null and ss_ticket_number is not null and ss_customer_sk is not null and ss_sold_date_sk is not null and ss_store_sk is not null and ss_cdemo_sk is not null and ss_promo_sk is not null and ss_hdemo_sk is not null and ss_addr_sk is not null)
                                                                                 TableScan [TS_31] (rows=575995635 width=88)
                                                                                   default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_customer_sk","ss_cdemo_sk","ss_hdemo_sk","ss_addr_sk","ss_store_sk","ss_promo_sk","ss_ticket_number","ss_wholesale_cost","ss_list_price","ss_coupon_amt"]
@@ -288,21 +288,21 @@ Stage-0
                                                                             PartitionCols:_col0
                                                                             Select Operator [SEL_164] (rows=2851 width=1436)
                                                                               Output:["_col0","_col3"]
-                                                                              Filter Operator [FIL_565] (rows=2851 width=1436)
+                                                                              Filter Operator [FIL_566] (rows=2851 width=1436)
                                                                                 predicate:((i_color) IN ('maroon', 'burnished', 'dim', 'steel', 'navajo', 'chocolate') and i_current_price BETWEEN 35 AND 45 and i_current_price BETWEEN 36 AND 50 and i_item_sk is not null)
                                                                                 TableScan [TS_34] (rows=462000 width=1436)
                                                                                   default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price","i_color","i_product_name"]
                                                       <-Reducer 37 [SIMPLE_EDGE]
                                                         SHUFFLE [RS_212]
                                                           PartitionCols:_col0
-                                                          Merge Join Operator [MERGEJOIN_598] (rows=7920 width=107)
+                                                          Merge Join Operator [MERGEJOIN_599] (rows=7920 width=107)
                                                             Conds:RS_209._col1=RS_210._col0(Inner),Output:["_col0"]
                                                           <-Map 33 [SIMPLE_EDGE]
                                                             SHUFFLE [RS_209]
                                                               PartitionCols:_col1
                                                               Select Operator [SEL_155] (rows=7200 width=107)
                                                                 Output:["_col0","_col1"]
-                                                                Filter Operator [FIL_562] (rows=7200 width=107)
+                                                                Filter Operator [FIL_563] (rows=7200 width=107)
                                                                   predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
                                                                    Please refer to the previous TableScan [TS_9]
                                                           <-Map 38 [SIMPLE_EDGE]
@@ -310,7 +310,7 @@ Stage-0
                                                               PartitionCols:_col0
                                                               Select Operator [SEL_158] (rows=20 width=12)
                                                                 Output:["_col0"]
-                                                                Filter Operator [FIL_563] (rows=20 width=12)
+                                                                Filter Operator [FIL_564] (rows=20 width=12)
                                                                   predicate:ib_income_band_sk is not null
                                                                    Please refer to the previous TableScan [TS_12]
                                                   <-Reducer 53 [SIMPLE_EDGE]
@@ -329,14 +329,14 @@ Stage-0
                                                                 Output:["_col0","_col1","_col2"],aggregations:["sum(_col1)","sum(_col2)"],keys:_col0
                                                                 Select Operator [SEL_196] (rows=316788826 width=135)
                                                                   Output:["_col0","_col1","_col2"]
-                                                                  Merge Join Operator [MERGEJOIN_603] (rows=316788826 width=135)
+                                                                  Merge Join Operator [MERGEJOIN_604] (rows=316788826 width=135)
                                                                     Conds:RS_193._col0, _col1=RS_194._col0, _col1(Inner),Output:["_col0","_col2","_col5","_col6","_col7"]
                                                                   <-Map 49 [SIMPLE_EDGE]
                                                                     SHUFFLE [RS_193]
                                                                       PartitionCols:_col0, _col1
                                                                       Select Operator [SEL_189] (rows=287989836 width=135)
                                                                         Output:["_col0","_col1","_col2"]
-                                                                        Filter Operator [FIL_569] (rows=287989836 width=135)
+                                                                        Filter Operator [FIL_570] (rows=287989836 width=135)
                                                                           predicate:(cs_order_number is not null and cs_item_sk is not null)
                                                                           TableScan [TS_59] (rows=287989836 width=135)
                                                                             default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_item_sk","cs_order_number","cs_ext_list_price"]
@@ -345,7 +345,7 @@ Stage-0
                                                                       PartitionCols:_col0, _col1
                                                                       Select Operator [SEL_192] (rows=28798881 width=106)
                                                                         Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                                        Filter Operator [FIL_570] (rows=28798881 width=106)
+                                                                        Filter Operator [FIL_571] (rows=28798881 width=106)
                                                                           predicate:(cr_order_number is not null and cr_item_sk is not null)
                                                                           TableScan [TS_62] (rows=28798881 width=106)
                                                                             default@catalog_returns,catalog_returns,Tbl:COMPLETE,Col:NONE,Output:["cr_item_sk","cr_order_number","cr_refunded_cash","cr_reversed_charge","cr_store_credit"]
@@ -365,111 +365,111 @@ Stage-0
                               Output:["_col7","_col9","_col14","_col15","_col16","_col17","_col21","_col22","_col23","_col24","_col26","_col27","_col45","_col46","_col47","_col48","_col51"]
                               Filter Operator [FIL_121] (rows=1493984654 width=88)
                                 predicate:(_col56 <> _col19)
-                                Merge Join Operator [MERGEJOIN_591] (rows=1493984654 width=88)
+                                Merge Join Operator [MERGEJOIN_592] (rows=1493984654 width=88)
                                   Conds:RS_118._col39=RS_119._col0(Inner),Output:["_col7","_col9","_col14","_col15","_col16","_col17","_col19","_col21","_col22","_col23","_col24","_col26","_col27","_col45","_col46","_col47","_col48","_col51","_col56"]
                                 <-Map 40 [SIMPLE_EDGE]
                                   SHUFFLE [RS_119]
                                     PartitionCols:_col0
                                     Select Operator [SEL_99] (rows=1861800 width=385)
                                       Output:["_col0","_col1"]
-                                      Filter Operator [FIL_554] (rows=1861800 width=385)
+                                      Filter Operator [FIL_555] (rows=1861800 width=385)
                                         predicate:cd_demo_sk is not null
                                          Please refer to the previous TableScan [TS_22]
                                 <-Reducer 7 [SIMPLE_EDGE]
                                   SHUFFLE [RS_118]
                                     PartitionCols:_col39
-                                    Merge Join Operator [MERGEJOIN_590] (rows=1358167838 width=88)
+                                    Merge Join Operator [MERGEJOIN_591] (rows=1358167838 width=88)
                                       Conds:RS_115._col0=RS_116._col18(Inner),Output:["_col7","_col9","_col14","_col15","_col16","_col17","_col19","_col21","_col22","_col23","_col24","_col26","_col27","_col39","_col45","_col46","_col47","_col48","_col51"]
                                     <-Reducer 26 [SIMPLE_EDGE]
                                       SHUFFLE [RS_116]
                                         PartitionCols:_col18
                                         Select Operator [SEL_96] (rows=1234698008 width=88)
                                           Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col18","_col19","_col25","_col26","_col27","_col28","_col31"]
-                                          Merge Join Operator [MERGEJOIN_589] (rows=1234698008 width=88)
+                                          Merge Join Operator [MERGEJOIN_590] (rows=1234698008 width=88)
                                             Conds:RS_93._col13=RS_94._col0(Inner),Output:["_col10","_col11","_col17","_col18","_col19","_col20","_col23","_col28","_col29","_col31","_col32","_col33","_col34"]
                                           <-Map 39 [SIMPLE_EDGE]
                                             SHUFFLE [RS_94]
                                               PartitionCols:_col0
                                               Select Operator [SEL_80] (rows=40000000 width=1014)
                                                 Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                Filter Operator [FIL_553] (rows=40000000 width=1014)
+                                                Filter Operator [FIL_554] (rows=40000000 width=1014)
                                                   predicate:ca_address_sk is not null
                                                    Please refer to the previous TableScan [TS_19]
                                           <-Reducer 25 [SIMPLE_EDGE]
                                             SHUFFLE [RS_93]
                                               PartitionCols:_col13
-                                              Merge Join Operator [MERGEJOIN_588] (rows=1122452711 width=88)
+                                              Merge Join Operator [MERGEJOIN_589] (rows=1122452711 width=88)
                                                 Conds:RS_90._col14=RS_91._col0(Inner),Output:["_col10","_col11","_col13","_col17","_col18","_col19","_col20","_col23","_col28","_col29"]
                                               <-Map 55 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_91]
                                                   PartitionCols:_col0
                                                   Select Operator [SEL_77] (rows=1704 width=1910)
                                                     Output:["_col0","_col1","_col2"]
-                                                    Filter Operator [FIL_552] (rows=1704 width=1910)
+                                                    Filter Operator [FIL_553] (rows=1704 width=1910)
                                                       predicate:(s_store_sk is not null and s_store_name is not null and s_zip is not null)
                                                        Please refer to the previous TableScan [TS_75]
                                               <-Reducer 24 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_90]
                                                   PartitionCols:_col14
-                                                  Merge Join Operator [MERGEJOIN_587] (rows=1020411534 width=88)
+                                                  Merge Join Operator [MERGEJOIN_588] (rows=1020411534 width=88)
                                                     Conds:RS_87._col9=RS_88._col0(Inner),Output:["_col10","_col11","_col13","_col14","_col17","_col18","_col19","_col20","_col23"]
                                                   <-Reducer 23 [SIMPLE_EDGE]
                                                     SHUFFLE [RS_87]
                                                       PartitionCols:_col9
-                                                      Merge Join Operator [MERGEJOIN_586] (rows=927646829 width=88)
+                                                      Merge Join Operator [MERGEJOIN_587] (rows=927646829 width=88)
                                                         Conds:RS_84._col0=RS_85._col9(Inner),Output:["_col9","_col10","_col11","_col13","_col14","_col17","_col18","_col19","_col20","_col23"]
                                                       <-Reducer 22 [SIMPLE_EDGE]
                                                         SHUFFLE [RS_85]
                                                           PartitionCols:_col9
                                                           Select Operator [SEL_58] (rows=843315281 width=88)
                                                             Output:["_col6","_col7","_col8","_col9","_col10","_col11","_col14","_col15","_col16","_col17","_col20"]
-                                                            Merge Join Operator [MERGEJOIN_584] (rows=843315281 width=88)
+                                                            Merge Join Operator [MERGEJOIN_585] (rows=843315281 width=88)
                                                               Conds:RS_55._col7=RS_56._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col9","_col10","_col11","_col12","_col15"]
                                                             <-Map 48 [SIMPLE_EDGE]
                                                               SHUFFLE [RS_56]
                                                                 PartitionCols:_col0
                                                                 Select Operator [SEL_45] (rows=2300 width=1179)
                                                                   Output:["_col0"]
-                                                                  Filter Operator [FIL_549] (rows=2300 width=1179)
+                                                                  Filter Operator [FIL_550] (rows=2300 width=1179)
                                                                     predicate:p_promo_sk is not null
                                                                      Please refer to the previous TableScan [TS_43]
                                                             <-Reducer 21 [SIMPLE_EDGE]
                                                               SHUFFLE [RS_55]
                                                                 PartitionCols:_col7
-                                                                Merge Join Operator [MERGEJOIN_583] (rows=766650239 width=88)
+                                                                Merge Join Operator [MERGEJOIN_584] (rows=766650239 width=88)
                                                                   Conds:RS_52._col0=RS_53._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col15"]
                                                                 <-Map 20 [SIMPLE_EDGE]
                                                                   SHUFFLE [RS_53]
                                                                     PartitionCols:_col0
                                                                     Select Operator [SEL_42] (rows=36524 width=1119)
                                                                       Output:["_col0"]
-                                                                      Filter Operator [FIL_548] (rows=36524 width=1119)
+                                                                      Filter Operator [FIL_549] (rows=36524 width=1119)
                                                                         predicate:((d_year = 2000) and d_date_sk is not null)
                                                                          Please refer to the previous TableScan [TS_3]
                                                                 <-Reducer 43 [SIMPLE_EDGE]
                                                                   SHUFFLE [RS_52]
                                                                     PartitionCols:_col0
-                                                                    Merge Join Operator [MERGEJOIN_582] (rows=696954748 width=88)
+                                                                    Merge Join Operator [MERGEJOIN_583] (rows=696954748 width=88)
                                                                       Conds:RS_49._col1, _col8=RS_50._col0, _col1(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col15"]
                                                                     <-Map 47 [SIMPLE_EDGE]
                                                                       SHUFFLE [RS_50]
                                                                         PartitionCols:_col0, _col1
                                                                         Select Operator [SEL_39] (rows=57591150 width=77)
                                                                           Output:["_col0","_col1"]
-                                                                          Filter Operator [FIL_547] (rows=57591150 width=77)
+                                                                          Filter Operator [FIL_548] (rows=57591150 width=77)
                                                                             predicate:(sr_item_sk is not null and sr_ticket_number is not null)
                                                                              Please refer to the previous TableScan [TS_37]
                                                                     <-Reducer 42 [SIMPLE_EDGE]
                                                                       SHUFFLE [RS_49]
                                                                         PartitionCols:_col1, _col8
-                                                                        Merge Join Operator [MERGEJOIN_581] (rows=633595212 width=88)
+                                                                        Merge Join Operator [MERGEJOIN_582] (rows=633595212 width=88)
                                                                           Conds:RS_46._col1=RS_47._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col15"]
                                                                         <-Map 41 [SIMPLE_EDGE]
                                                                           SHUFFLE [RS_46]
                                                                             PartitionCols:_col1
                                                                             Select Operator [SEL_33] (rows=575995635 width=88)
                                                                               Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11"]
-                                                                              Filter Operator [FIL_545] (rows=575995635 width=88)
+                                                                              Filter Operator [FIL_546] (rows=575995635 width=88)
                                                                                 predicate:(ss_item_sk is not null and ss_ticket_number is not null and ss_customer_sk is not null and ss_sold_date_sk is not null and ss_store_sk is not null and ss_cdemo_sk is not null and ss_promo_sk is not null and ss_hdemo_sk is not null and ss_addr_sk is not null)
                                                                                  Please refer to the previous TableScan [TS_31]
                                                                         <-Map 46 [SIMPLE_EDGE]
@@ -477,20 +477,20 @@ Stage-0
                                                                             PartitionCols:_col0
                                                                             Select Operator [SEL_36] (rows=2851 width=1436)
                                                                               Output:["_col0","_col3"]
-                                                                              Filter Operator [FIL_546] (rows=2851 width=1436)
+                                                                              Filter Operator [FIL_547] (rows=2851 width=1436)
                                                                                 predicate:((i_color) IN ('maroon', 'burnished', 'dim', 'steel', 'navajo', 'chocolate') and i_current_price BETWEEN 35 AND 45 and i_current_price BETWEEN 36 AND 50 and i_item_sk is not null)
                                                                                  Please refer to the previous TableScan [TS_34]
                                                       <-Reducer 35 [SIMPLE_EDGE]
                                                         SHUFFLE [RS_84]
                                                           PartitionCols:_col0
-                                                          Merge Join Operator [MERGEJOIN_580] (rows=7920 width=107)
+                                                          Merge Join Operator [MERGEJOIN_581] (rows=7920 width=107)
                                                             Conds:RS_81._col1=RS_82._col0(Inner),Output:["_col0"]
                                                           <-Map 33 [SIMPLE_EDGE]
                                                             SHUFFLE [RS_81]
                                                               PartitionCols:_col1
                                                               Select Operator [SEL_27] (rows=7200 width=107)
                                                                 Output:["_col0","_col1"]
-                                                                Filter Operator [FIL_543] (rows=7200 width=107)
+                                                                Filter Operator [FIL_544] (rows=7200 width=107)
                                                                   predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
                                                                    Please refer to the previous TableScan [TS_9]
                                                           <-Map 38 [SIMPLE_EDGE]
@@ -498,7 +498,7 @@ Stage-0
                                                               PartitionCols:_col0
                                                               Select Operator [SEL_30] (rows=20 width=12)
                                                                 Output:["_col0"]
-                                                                Filter Operator [FIL_544] (rows=20 width=12)
+                                                                Filter Operator [FIL_545] (rows=20 width=12)
                                                                   predicate:ib_income_band_sk is not null
                                                                    Please refer to the previous TableScan [TS_12]
                                                   <-Reducer 51 [SIMPLE_EDGE]
@@ -517,14 +517,14 @@ Stage-0
                                                                 Output:["_col0","_col1","_col2"],aggregations:["sum(_col1)","sum(_col2)"],keys:_col0
                                                                 Select Operator [SEL_68] (rows=316788826 width=135)
                                                                   Output:["_col0","_col1","_col2"]
-                                                                  Merge Join Operator [MERGEJOIN_585] (rows=316788826 width=135)
+                                                                  Merge Join Operator [MERGEJOIN_586] (rows=316788826 width=135)
                                                                     Conds:RS_65._col0, _col1=RS_66._col0, _col1(Inner),Output:["_col0","_col2","_col5","_col6","_col7"]
                                                                   <-Map 49 [SIMPLE_EDGE]
                                                                     SHUFFLE [RS_65]
                                                                       PartitionCols:_col0, _col1
                                                                       Select Operator [SEL_61] (rows=287989836 width=135)
                                                                         Output:["_col0","_col1","_col2"]
-                                                                        Filter Operator [FIL_550] (rows=287989836 width=135)
+                                                                        Filter Operator [FIL_551] (rows=287989836 width=135)
                                                                           predicate:(cs_order_number is not null and cs_item_sk is not null)
                                                                            Please refer to the previous TableScan [TS_59]
                                                                   <-Map 54 [SIMPLE_EDGE]
@@ -532,64 +532,64 @@ Stage-0
                                                                       PartitionCols:_col0, _col1
                                                                       Select Operator [SEL_64] (rows=28798881 width=106)
                                                                         Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                                        Filter Operator [FIL_551] (rows=28798881 width=106)
+                                                                        Filter Operator [FIL_552] (rows=28798881 width=106)
                                                                           predicate:(cr_order_number is not null and cr_item_sk is not null)
                                                                            Please refer to the previous TableScan [TS_62]
                                     <-Reducer 6 [SIMPLE_EDGE]
                                       SHUFFLE [RS_115]
                                         PartitionCols:_col0
-                                        Merge Join Operator [MERGEJOIN_579] (rows=128840811 width=860)
+                                        Merge Join Operator [MERGEJOIN_580] (rows=128840811 width=860)
                                           Conds:RS_112._col1=RS_113._col0(Inner),Output:["_col0","_col7","_col9","_col14","_col15","_col16","_col17","_col19"]
                                         <-Map 40 [SIMPLE_EDGE]
                                           SHUFFLE [RS_113]
                                             PartitionCols:_col0
                                             Select Operator [SEL_24] (rows=1861800 width=385)
                                               Output:["_col0","_col1"]
-                                              Filter Operator [FIL_542] (rows=1861800 width=385)
+                                              Filter Operator [FIL_543] (rows=1861800 width=385)
                                                 predicate:cd_demo_sk is not null
                                                  Please refer to the previous TableScan [TS_22]
                                         <-Reducer 5 [SIMPLE_EDGE]
                                           SHUFFLE [RS_112]
                                             PartitionCols:_col1
-                                            Merge Join Operator [MERGEJOIN_578] (rows=117128008 width=860)
+                                            Merge Join Operator [MERGEJOIN_579] (rows=117128008 width=860)
                                               Conds:RS_109._col3=RS_110._col0(Inner),Output:["_col0","_col1","_col7","_col9","_col14","_col15","_col16","_col17"]
                                             <-Map 39 [SIMPLE_EDGE]
                                               SHUFFLE [RS_110]
                                                 PartitionCols:_col0
                                                 Select Operator [SEL_21] (rows=40000000 width=1014)
                                                   Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                  Filter Operator [FIL_541] (rows=40000000 width=1014)
+                                                  Filter Operator [FIL_542] (rows=40000000 width=1014)
                                                     predicate:ca_address_sk is not null
                                                      Please refer to the previous TableScan [TS_19]
                                             <-Reducer 4 [SIMPLE_EDGE]
                                               SHUFFLE [RS_109]
                                                 PartitionCols:_col3
-                                                Merge Join Operator [MERGEJOIN_577] (rows=106480005 width=860)
+                                                Merge Join Operator [MERGEJOIN_578] (rows=106480005 width=860)
                                                   Conds:RS_106._col2=RS_107._col0(Inner),Output:["_col0","_col1","_col3","_col7","_col9"]
                                                 <-Reducer 3 [SIMPLE_EDGE]
                                                   SHUFFLE [RS_106]
                                                     PartitionCols:_col2
-                                                    Merge Join Operator [MERGEJOIN_575] (rows=96800003 width=860)
+                                                    Merge Join Operator [MERGEJOIN_576] (rows=96800003 width=860)
                                                       Conds:RS_103._col4=RS_104._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col7","_col9"]
                                                     <-Map 20 [SIMPLE_EDGE]
                                                       SHUFFLE [RS_104]
                                                         PartitionCols:_col0
                                                         Select Operator [SEL_8] (rows=73049 width=1119)
                                                           Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_538] (rows=73049 width=1119)
+                                                          Filter Operator [FIL_539] (rows=73049 width=1119)
                                                             predicate:d_date_sk is not null
                                                              Please refer to the previous TableScan [TS_3]
                                                     <-Reducer 2 [SIMPLE_EDGE]
                                                       SHUFFLE [RS_103]
                                                         PartitionCols:_col4
-                                                        Merge Join Operator [MERGEJOIN_574] (rows=88000001 width=860)
+                                                        Merge Join Operator [MERGEJOIN_575] (rows=88000001 width=860)
                                                           Conds:RS_100._col5=RS_101._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col7"]
                                                         <-Map 20 [SIMPLE_EDGE]
                                                           SHUFFLE [RS_101]
                                                             PartitionCols:_col0
                                                             Select Operator [SEL_5] (rows=73049 width=1119)
                                                               Output:["_col0","_col1"]
-                                                              Filter Operator [FIL_537] (rows=73049 width=1119)
+                                                              Filter Operator [FIL_538] (rows=73049 width=1119)
                                                                 predicate:d_date_sk is not null
                                                                  Please refer to the previous TableScan [TS_3]
                                                         <-Map 1 [SIMPLE_EDGE]
@@ -597,20 +597,20 @@ Stage-0
                                                             PartitionCols:_col5
                                                             Select Operator [SEL_2] (rows=80000000 width=860)
                                                               Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                                              Filter Operator [FIL_536] (rows=80000000 width=860)
+                                                              Filter Operator [FIL_537] (rows=80000000 width=860)
                                                                 predicate:(c_customer_sk is not null and c_first_sales_date_sk is not null and c_first_shipto_date_sk is not null and c_current_cdemo_sk is not null and c_current_hdemo_sk is not null and c_current_addr_sk is not null)
                                                                  Please refer to the previous TableScan [TS_0]
                                                 <-Reducer 34 [SIMPLE_EDGE]
                                                   SHUFFLE [RS_107]
                                                     PartitionCols:_col0
-                                                    Merge Join Operator [MERGEJOIN_576] (rows=7920 width=107)
+                                                    Merge Join Operator [MERGEJOIN_577] (rows=7920 width=107)
                                                       Conds:RS_15._col1=RS_16._col0(Inner),Output:["_col0"]
                                                     <-Map 33 [SIMPLE_EDGE]
                                                       SHUFFLE [RS_15]
                                                         PartitionCols:_col1
                                                         Select Operator [SEL_11] (rows=7200 width=107)
                                                           Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_539] (rows=7200 width=107)
+                                                          Filter Operator [FIL_540] (rows=7200 width=107)
                                                             predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
                                                              Please refer to the previous TableScan [TS_9]
                                                     <-Map 38 [SIMPLE_EDGE]
@@ -618,7 +618,7 @@ Stage-0
                                                         PartitionCols:_col0
                                                         Select Operator [SEL_14] (rows=20 width=12)
                                                           Output:["_col0"]
-                                                          Filter Operator [FIL_540] (rows=20 width=12)
+                                                          Filter Operator [FIL_541] (rows=20 width=12)
                                                             predicate:ib_income_band_sk is not null
                                                              Please refer to the previous TableScan [TS_12]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/a74c1e7c/ql/src/test/results/clientpositive/perf/query66.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query66.q.out b/ql/src/test/results/clientpositive/perf/query66.q.out
index ec7b6af..19cd0fb 100644
--- a/ql/src/test/results/clientpositive/perf/query66.q.out
+++ b/ql/src/test/results/clientpositive/perf/query66.q.out
@@ -454,18 +454,18 @@ Reducer 9 <- Reducer 8 (SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
-    limit:100
+    limit:-1
     Stage-1
       Reducer 9
-      File Output Operator [FS_76]
-        Limit [LIM_75] (rows=100 width=135)
-          Number of rows:100
-          Select Operator [SEL_74] (rows=158120068 width=135)
-            Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29","_col30","_col31","_col32","_col33","_col34","_col35","_col36","_col37","_col38","_col39","_col40","_col41","_col42","_col43"]
-          <-Reducer 8 [SIMPLE_EDGE]
-            SHUFFLE [RS_73]
-              Select Operator [SEL_72] (rows=158120068 width=135)
-                Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29","_col30","_col31","_col32","_col33","_col34","_col35","_col36","_col37","_col38","_col39","_col40","_col41","_col42","_col43"]
+      File Output Operator [FS_77]
+        Select Operator [SEL_76] (rows=100 width=135)
+          Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29","_col30","_col31","_col32","_col33","_col34","_col35","_col36","_col37","_col38","_col39","_col40","_col41","_col42","_col43"]
+          Limit [LIM_75] (rows=100 width=135)
+            Number of rows:100
+            Select Operator [SEL_74] (rows=158120068 width=135)
+              Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29","_col30","_col31","_col32","_col33","_col34","_col35","_col36","_col37","_col38","_col39","_col40","_col41"]
+            <-Reducer 8 [SIMPLE_EDGE]
+              SHUFFLE [RS_73]
                 Group By Operator [GBY_71] (rows=158120068 width=135)
                   Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29","_col30","_col31","_col32","_col33","_col34","_col35","_col36","_col37","_col38","_col39","_col40","_col41"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)","sum(VALUE._col4)","sum(VALUE._col5)","sum(VALUE._col6)","sum(VALUE._col7)","sum(VALUE._col8)","sum(VALUE._col9)","sum(VALUE._col10)","sum(VALUE._col11)","sum(VALUE._col12)","sum(VALUE._col13)","sum(VALUE._col14)","sum(VALUE._col15)","sum(VALUE._col16)","sum(VALUE._col17)","sum(VALUE._col18)","sum(VALUE._col19)","sum(VALUE._col20)","sum(VALUE._col21)","sum(VALUE._col22)","sum(VALUE._col23)","sum(VALUE._col24)","sum(VALUE._col25)","sum(VALUE._col26)","sum(VALUE._col27)","sum(VALUE._col28)","sum(VALUE._col29)
 ","sum(VALUE._col30)","sum(VALUE._col31)","sum(VALUE._col32)","sum(VALUE._col33)","sum(VALUE._col34)","sum(VALUE._col35)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3, KEY._col4, KEY._col5
                 <-Union 7 [SIMPLE_EDGE]
@@ -485,56 +485,56 @@ Stage-0
                                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29"],aggregations:["sum(_col6)","sum(_col7)","sum(_col8)","sum(_col9)","sum(_col10)","sum(_col11)","sum(_col12)","sum(_col13)","sum(_col14)","sum(_col15)","sum(_col16)","sum(_col17)","sum(_col18)","sum(_col19)","sum(_col20)","sum(_col21)","sum(_col22)","sum(_col23)","sum(_col24)","sum(_col25)","sum(_col26)","sum(_col27)","sum(_col28)","sum(_col29)"],keys:_col0, _col1, _col2, _col3, _col4, _col5
                                 Select Operator [SEL_60] (rows=421645953 width=135)
                                   Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29"]
-                                  Merge Join Operator [MERGEJOIN_122] (rows=421645953 width=135)
+                                  Merge Join Operator [MERGEJOIN_123] (rows=421645953 width=135)
                                     Conds:RS_57._col3=RS_58._col0(Inner),Output:["_col4","_col5","_col6","_col11","_col15","_col16","_col17","_col18","_col19","_col20"]
                                   <-Map 18 [SIMPLE_EDGE]
                                     SHUFFLE [RS_58]
                                       PartitionCols:_col0
                                       Select Operator [SEL_47] (rows=27 width=1029)
                                         Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                                        Filter Operator [FIL_114] (rows=27 width=1029)
+                                        Filter Operator [FIL_115] (rows=27 width=1029)
                                           predicate:w_warehouse_sk is not null
                                           TableScan [TS_12] (rows=27 width=1029)
                                             default@warehouse,warehouse,Tbl:COMPLETE,Col:NONE,Output:["w_warehouse_sk","w_warehouse_name","w_warehouse_sq_ft","w_city","w_county","w_state","w_country"]
                                   <-Reducer 13 [SIMPLE_EDGE]
                                     SHUFFLE [RS_57]
                                       PartitionCols:_col3
-                                      Merge Join Operator [MERGEJOIN_121] (rows=383314495 width=135)
+                                      Merge Join Operator [MERGEJOIN_122] (rows=383314495 width=135)
                                         Conds:RS_54._col2=RS_55._col0(Inner),Output:["_col3","_col4","_col5","_col6","_col11"]
                                       <-Map 17 [SIMPLE_EDGE]
                                         SHUFFLE [RS_55]
                                           PartitionCols:_col0
                                           Select Operator [SEL_44] (rows=1 width=0)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_113] (rows=1 width=0)
+                                            Filter Operator [FIL_114] (rows=1 width=0)
                                               predicate:((sm_carrier) IN ('DIAMOND', 'AIRBORNE') and sm_ship_mode_sk is not null)
                                               TableScan [TS_9] (rows=1 width=0)
                                                 default@ship_mode,ship_mode,Tbl:PARTIAL,Col:NONE,Output:["sm_ship_mode_sk","sm_carrier"]
                                       <-Reducer 12 [SIMPLE_EDGE]
                                         SHUFFLE [RS_54]
                                           PartitionCols:_col2
-                                          Merge Join Operator [MERGEJOIN_120] (rows=348467716 width=135)
+                                          Merge Join Operator [MERGEJOIN_121] (rows=348467716 width=135)
                                             Conds:RS_51._col0=RS_52._col0(Inner),Output:["_col2","_col3","_col4","_col5","_col6","_col11"]
                                           <-Map 16 [SIMPLE_EDGE]
                                             SHUFFLE [RS_52]
                                               PartitionCols:_col0
                                               Select Operator [SEL_41] (rows=36524 width=1119)
                                                 Output:["_col0","_col2"]
-                                                Filter Operator [FIL_112] (rows=36524 width=1119)
+                                                Filter Operator [FIL_113] (rows=36524 width=1119)
                                                   predicate:((d_year = 2002) and d_date_sk is not null)
                                                   TableScan [TS_6] (rows=73049 width=1119)
                                                     default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
                                           <-Reducer 11 [SIMPLE_EDGE]
                                             SHUFFLE [RS_51]
                                               PartitionCols:_col0
-                                              Merge Join Operator [MERGEJOIN_119] (rows=316788826 width=135)
+                                              Merge Join Operator [MERGEJOIN_120] (rows=316788826 width=135)
                                                 Conds:RS_48._col1=RS_49._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5","_col6"]
                                               <-Map 10 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_49]
                                                   PartitionCols:_col0
                                                   Select Operator [SEL_38] (rows=9600 width=471)
                                                     Output:["_col0"]
-                                                    Filter Operator [FIL_111] (rows=9600 width=471)
+                                                    Filter Operator [FIL_112] (rows=9600 width=471)
                                                       predicate:(t_time BETWEEN 49530 AND 78330 and t_time_sk is not null)
                                                       TableScan [TS_3] (rows=86400 width=471)
                                                         default@time_dim,time_dim,Tbl:COMPLETE,Col:NONE,Output:["t_time_sk","t_time"]
@@ -543,7 +543,7 @@ Stage-0
                                                   PartitionCols:_col1
                                                   Select Operator [SEL_35] (rows=287989836 width=135)
                                                     Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                                                    Filter Operator [FIL_110] (rows=287989836 width=135)
+                                                    Filter Operator [FIL_111] (rows=287989836 width=135)
                                                       predicate:(cs_warehouse_sk is not null and cs_sold_date_sk is not null and cs_sold_time_sk is not null and cs_ship_mode_sk is not null)
                                                       TableScan [TS_33] (rows=287989836 width=135)
                                                         default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_sold_time_sk","cs_ship_mode_sk","cs_warehouse_sk","cs_quantity","cs_ext_sales_price","cs_net_paid_inc_ship_tax"]
@@ -563,53 +563,53 @@ Stage-0
                                 Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29"],aggregations:["sum(_col6)","sum(_col7)","sum(_col8)","sum(_col9)","sum(_col10)","sum(_col11)","sum(_col12)","sum(_col13)","sum(_col14)","sum(_col15)","sum(_col16)","sum(_col17)","sum(_col18)","sum(_col19)","sum(_col20)","sum(_col21)","sum(_col22)","sum(_col23)","sum(_col24)","sum(_col25)","sum(_col26)","sum(_col27)","sum(_col28)","sum(_col29)"],keys:_col0, _col1, _col2, _col3, _col4, _col5
                                 Select Operator [SEL_27] (rows=210834322 width=135)
                                   Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29"]
-                                  Merge Join Operator [MERGEJOIN_118] (rows=210834322 width=135)
+                                  Merge Join Operator [MERGEJOIN_119] (rows=210834322 width=135)
                                     Conds:RS_24._col3=RS_25._col0(Inner),Output:["_col4","_col5","_col6","_col11","_col15","_col16","_col17","_col18","_col19","_col20"]
                                   <-Map 18 [SIMPLE_EDGE]
                                     SHUFFLE [RS_25]
                                       PartitionCols:_col0
                                       Select Operator [SEL_14] (rows=27 width=1029)
                                         Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                                        Filter Operator [FIL_109] (rows=27 width=1029)
+                                        Filter Operator [FIL_110] (rows=27 width=1029)
                                           predicate:w_warehouse_sk is not null
                                            Please refer to the previous TableScan [TS_12]
                                   <-Reducer 4 [SIMPLE_EDGE]
                                     SHUFFLE [RS_24]
                                       PartitionCols:_col3
-                                      Merge Join Operator [MERGEJOIN_117] (rows=191667562 width=135)
+                                      Merge Join Operator [MERGEJOIN_118] (rows=191667562 width=135)
                                         Conds:RS_21._col2=RS_22._col0(Inner),Output:["_col3","_col4","_col5","_col6","_col11"]
                                       <-Map 17 [SIMPLE_EDGE]
                                         SHUFFLE [RS_22]
                                           PartitionCols:_col0
                                           Select Operator [SEL_11] (rows=1 width=0)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_108] (rows=1 width=0)
+                                            Filter Operator [FIL_109] (rows=1 width=0)
                                               predicate:((sm_carrier) IN ('DIAMOND', 'AIRBORNE') and sm_ship_mode_sk is not null)
                                                Please refer to the previous TableScan [TS_9]
                                       <-Reducer 3 [SIMPLE_EDGE]
                                         SHUFFLE [RS_21]
                                           PartitionCols:_col2
-                                          Merge Join Operator [MERGEJOIN_116] (rows=174243235 width=135)
+                                          Merge Join Operator [MERGEJOIN_117] (rows=174243235 width=135)
                                             Conds:RS_18._col0=RS_19._col0(Inner),Output:["_col2","_col3","_col4","_col5","_col6","_col11"]
                                           <-Map 16 [SIMPLE_EDGE]
                                             SHUFFLE [RS_19]
                                               PartitionCols:_col0
                                               Select Operator [SEL_8] (rows=36524 width=1119)
                                                 Output:["_col0","_col2"]
-                                                Filter Operator [FIL_107] (rows=36524 width=1119)
+                                                Filter Operator [FIL_108] (rows=36524 width=1119)
                                                   predicate:((d_year = 2002) and d_date_sk is not null)
                                                    Please refer to the previous TableScan [TS_6]
                                           <-Reducer 2 [SIMPLE_EDGE]
                                             SHUFFLE [RS_18]
                                               PartitionCols:_col0
-                                              Merge Join Operator [MERGEJOIN_115] (rows=158402938 width=135)
+                                              Merge Join Operator [MERGEJOIN_116] (rows=158402938 width=135)
                                                 Conds:RS_15._col1=RS_16._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5","_col6"]
                                               <-Map 10 [SIMPLE_EDGE]
                                                 SHUFFLE [RS_16]
                                                   PartitionCols:_col0
                                                   Select Operator [SEL_5] (rows=9600 width=471)
                                                     Output:["_col0"]
-                                                    Filter Operator [FIL_106] (rows=9600 width=471)
+                                                    Filter Operator [FIL_107] (rows=9600 width=471)
                                                       predicate:(t_time BETWEEN 49530 AND 78330 and t_time_sk is not null)
                                                        Please refer to the previous TableScan [TS_3]
                                               <-Map 1 [SIMPLE_EDGE]
@@ -617,7 +617,7 @@ Stage-0
                                                   PartitionCols:_col1
                                                   Select Operator [SEL_2] (rows=144002668 width=135)
                                                     Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
-                                                    Filter Operator [FIL_105] (rows=144002668 width=135)
+                                                    Filter Operator [FIL_106] (rows=144002668 width=135)
                                                       predicate:(ws_warehouse_sk is not null and ws_sold_date_sk is not null and ws_sold_time_sk is not null and ws_ship_mode_sk is not null)
                                                       TableScan [TS_0] (rows=144002668 width=135)
                                                         default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_sold_time_sk","ws_ship_mode_sk","ws_warehouse_sk","ws_quantity","ws_sales_price","ws_net_paid_inc_tax"]