You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2017/04/13 20:50:12 UTC

[07/26] hive git commit: HIVE-15708 : Upgrade calcite version to 1.12 (Remus Rusanu via Ashutosh Chauhan)

http://git-wip-us.apache.org/repos/asf/hive/blob/be59e024/ql/src/test/results/clientpositive/perf/query65.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query65.q.out b/ql/src/test/results/clientpositive/perf/query65.q.out
index 901bcfd..db671aa 100644
--- a/ql/src/test/results/clientpositive/perf/query65.q.out
+++ b/ql/src/test/results/clientpositive/perf/query65.q.out
@@ -90,108 +90,106 @@ Stage-0
     limit:100
     Stage-1
       Reducer 6
-      File Output Operator [FS_52]
-        Limit [LIM_51] (rows=100 width=88)
+      File Output Operator [FS_51]
+        Limit [LIM_50] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_50] (rows=255550079 width=88)
+          Select Operator [SEL_49] (rows=255550079 width=88)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
           <-Reducer 5 [SIMPLE_EDGE]
-            SHUFFLE [RS_49]
-              Select Operator [SEL_48] (rows=255550079 width=88)
+            SHUFFLE [RS_48]
+              Select Operator [SEL_47] (rows=255550079 width=88)
                 Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                Filter Operator [FIL_47] (rows=255550079 width=88)
-                  predicate:(_col11 <= (0.1 * _col8))
-                  Select Operator [SEL_46] (rows=766650239 width=88)
-                    Output:["_col1","_col3","_col4","_col5","_col6","_col8","_col11"]
-                    Merge Join Operator [MERGEJOIN_82] (rows=766650239 width=88)
-                      Conds:RS_43._col1=RS_44._col0(Inner),Output:["_col2","_col4","_col6","_col8","_col9","_col10","_col11"]
-                    <-Map 13 [SIMPLE_EDGE]
-                      SHUFFLE [RS_44]
-                        PartitionCols:_col0
-                        Select Operator [SEL_38] (rows=462000 width=1436)
-                          Output:["_col0","_col1","_col2","_col3","_col4"]
-                          Filter Operator [FIL_78] (rows=462000 width=1436)
-                            predicate:i_item_sk is not null
-                            TableScan [TS_36] (rows=462000 width=1436)
-                              default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_desc","i_current_price","i_wholesale_cost","i_brand"]
-                    <-Reducer 4 [SIMPLE_EDGE]
-                      SHUFFLE [RS_43]
-                        PartitionCols:_col1
-                        Merge Join Operator [MERGEJOIN_81] (rows=696954748 width=88)
-                          Conds:RS_39._col0=RS_40._col0(Inner),RS_39._col0=RS_41._col0(Inner),Output:["_col1","_col2","_col4","_col6"]
-                        <-Map 12 [SIMPLE_EDGE]
-                          SHUFFLE [RS_41]
-                            PartitionCols:_col0
-                            Select Operator [SEL_35] (rows=1704 width=1910)
-                              Output:["_col0","_col1"]
-                              Filter Operator [FIL_77] (rows=1704 width=1910)
-                                predicate:s_store_sk is not null
-                                TableScan [TS_33] (rows=1704 width=1910)
-                                  default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_name"]
-                        <-Reducer 10 [SIMPLE_EDGE]
-                          SHUFFLE [RS_40]
-                            PartitionCols:_col0
-                            Select Operator [SEL_32] (rows=158398803 width=88)
-                              Output:["_col0","_col1"]
-                              Group By Operator [GBY_31] (rows=158398803 width=88)
-                                Output:["_col0","_col1"],aggregations:["avg(_col2)"],keys:_col1
-                                Select Operator [SEL_27] (rows=316797606 width=88)
-                                  Output:["_col1","_col2"]
-                                  Group By Operator [GBY_26] (rows=316797606 width=88)
-                                    Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1
-                                  <-Reducer 9 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_25]
-                                      PartitionCols:_col0
-                                      Group By Operator [GBY_24] (rows=633595212 width=88)
-                                        Output:["_col0","_col1","_col2"],aggregations:["sum(_col3)"],keys:_col2, _col1
-                                        Merge Join Operator [MERGEJOIN_80] (rows=633595212 width=88)
-                                          Conds:RS_20._col0=RS_21._col0(Inner),Output:["_col1","_col2","_col3"]
-                                        <-Map 11 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_21]
-                                            PartitionCols:_col0
-                                            Select Operator [SEL_19] (rows=8116 width=1119)
-                                              Output:["_col0"]
-                                              Filter Operator [FIL_76] (rows=8116 width=1119)
-                                                predicate:(d_month_seq BETWEEN 1212 AND 1223 and d_date_sk is not null)
-                                                TableScan [TS_17] (rows=73049 width=1119)
-                                                  default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"]
-                                        <-Map 8 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_20]
-                                            PartitionCols:_col0
-                                            Select Operator [SEL_16] (rows=575995635 width=88)
-                                              Output:["_col0","_col1","_col2","_col3"]
-                                              Filter Operator [FIL_75] (rows=575995635 width=88)
-                                                predicate:(ss_sold_date_sk is not null and ss_store_sk is not null)
-                                                TableScan [TS_14] (rows=575995635 width=88)
-                                                  default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_store_sk","ss_sales_price"]
-                        <-Reducer 3 [SIMPLE_EDGE]
-                          SHUFFLE [RS_39]
-                            PartitionCols:_col0
-                            Group By Operator [GBY_12] (rows=316797606 width=88)
-                              Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1
-                            <-Reducer 2 [SIMPLE_EDGE]
-                              SHUFFLE [RS_11]
-                                PartitionCols:_col0, _col1
-                                Group By Operator [GBY_10] (rows=633595212 width=88)
-                                  Output:["_col0","_col1","_col2"],aggregations:["sum(_col3)"],keys:_col2, _col1
-                                  Merge Join Operator [MERGEJOIN_79] (rows=633595212 width=88)
-                                    Conds:RS_6._col0=RS_7._col0(Inner),Output:["_col1","_col2","_col3"]
-                                  <-Map 1 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_6]
-                                      PartitionCols:_col0
-                                      Select Operator [SEL_2] (rows=575995635 width=88)
-                                        Output:["_col0","_col1","_col2","_col3"]
-                                        Filter Operator [FIL_73] (rows=575995635 width=88)
-                                          predicate:(ss_sold_date_sk is not null and ss_store_sk is not null and ss_item_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_item_sk","ss_store_sk","ss_sales_price"]
-                                  <-Map 7 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_7]
-                                      PartitionCols:_col0
-                                      Select Operator [SEL_5] (rows=8116 width=1119)
-                                        Output:["_col0"]
-                                        Filter Operator [FIL_74] (rows=8116 width=1119)
-                                          predicate:(d_month_seq BETWEEN 1212 AND 1223 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_month_seq"]
+                Merge Join Operator [MERGEJOIN_81] (rows=255550079 width=88)
+                  Conds:RS_44._col1=RS_45._col0(Inner),Output:["_col2","_col6","_col8","_col9","_col10","_col11"]
+                <-Map 13 [SIMPLE_EDGE]
+                  SHUFFLE [RS_45]
+                    PartitionCols:_col0
+                    Select Operator [SEL_38] (rows=462000 width=1436)
+                      Output:["_col0","_col1","_col2","_col3","_col4"]
+                      Filter Operator [FIL_77] (rows=462000 width=1436)
+                        predicate:i_item_sk is not null
+                        TableScan [TS_36] (rows=462000 width=1436)
+                          default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_desc","i_current_price","i_wholesale_cost","i_brand"]
+                <-Reducer 4 [SIMPLE_EDGE]
+                  SHUFFLE [RS_44]
+                    PartitionCols:_col1
+                    Filter Operator [FIL_43] (rows=232318249 width=88)
+                      predicate:(_col2 <= (0.1 * _col4))
+                      Merge Join Operator [MERGEJOIN_80] (rows=696954748 width=88)
+                        Conds:RS_39._col0=RS_40._col0(Inner),RS_39._col0=RS_41._col0(Inner),Output:["_col1","_col2","_col4","_col6"]
+                      <-Map 12 [SIMPLE_EDGE]
+                        SHUFFLE [RS_41]
+                          PartitionCols:_col0
+                          Select Operator [SEL_35] (rows=1704 width=1910)
+                            Output:["_col0","_col1"]
+                            Filter Operator [FIL_76] (rows=1704 width=1910)
+                              predicate:s_store_sk is not null
+                              TableScan [TS_33] (rows=1704 width=1910)
+                                default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_name"]
+                      <-Reducer 10 [SIMPLE_EDGE]
+                        SHUFFLE [RS_40]
+                          PartitionCols:_col0
+                          Select Operator [SEL_32] (rows=158398803 width=88)
+                            Output:["_col0","_col1"]
+                            Group By Operator [GBY_31] (rows=158398803 width=88)
+                              Output:["_col0","_col1"],aggregations:["avg(_col2)"],keys:_col1
+                              Select Operator [SEL_27] (rows=316797606 width=88)
+                                Output:["_col1","_col2"]
+                                Group By Operator [GBY_26] (rows=316797606 width=88)
+                                  Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1
+                                <-Reducer 9 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_25]
+                                    PartitionCols:_col0
+                                    Group By Operator [GBY_24] (rows=633595212 width=88)
+                                      Output:["_col0","_col1","_col2"],aggregations:["sum(_col3)"],keys:_col2, _col1
+                                      Merge Join Operator [MERGEJOIN_79] (rows=633595212 width=88)
+                                        Conds:RS_20._col0=RS_21._col0(Inner),Output:["_col1","_col2","_col3"]
+                                      <-Map 11 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_21]
+                                          PartitionCols:_col0
+                                          Select Operator [SEL_19] (rows=8116 width=1119)
+                                            Output:["_col0"]
+                                            Filter Operator [FIL_75] (rows=8116 width=1119)
+                                              predicate:(d_month_seq BETWEEN 1212 AND 1223 and d_date_sk is not null)
+                                              TableScan [TS_17] (rows=73049 width=1119)
+                                                default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"]
+                                      <-Map 8 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_20]
+                                          PartitionCols:_col0
+                                          Select Operator [SEL_16] (rows=575995635 width=88)
+                                            Output:["_col0","_col1","_col2","_col3"]
+                                            Filter Operator [FIL_74] (rows=575995635 width=88)
+                                              predicate:(ss_sold_date_sk is not null and ss_store_sk is not null)
+                                              TableScan [TS_14] (rows=575995635 width=88)
+                                                default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_item_sk","ss_store_sk","ss_sales_price"]
+                      <-Reducer 3 [SIMPLE_EDGE]
+                        SHUFFLE [RS_39]
+                          PartitionCols:_col0
+                          Group By Operator [GBY_12] (rows=316797606 width=88)
+                            Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1
+                          <-Reducer 2 [SIMPLE_EDGE]
+                            SHUFFLE [RS_11]
+                              PartitionCols:_col0, _col1
+                              Group By Operator [GBY_10] (rows=633595212 width=88)
+                                Output:["_col0","_col1","_col2"],aggregations:["sum(_col3)"],keys:_col2, _col1
+                                Merge Join Operator [MERGEJOIN_78] (rows=633595212 width=88)
+                                  Conds:RS_6._col0=RS_7._col0(Inner),Output:["_col1","_col2","_col3"]
+                                <-Map 1 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_6]
+                                    PartitionCols:_col0
+                                    Select Operator [SEL_2] (rows=575995635 width=88)
+                                      Output:["_col0","_col1","_col2","_col3"]
+                                      Filter Operator [FIL_72] (rows=575995635 width=88)
+                                        predicate:(ss_sold_date_sk is not null and ss_store_sk is not null and ss_item_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_item_sk","ss_store_sk","ss_sales_price"]
+                                <-Map 7 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_7]
+                                    PartitionCols:_col0
+                                    Select Operator [SEL_5] (rows=8116 width=1119)
+                                      Output:["_col0"]
+                                      Filter Operator [FIL_73] (rows=8116 width=1119)
+                                        predicate:(d_month_seq BETWEEN 1212 AND 1223 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_month_seq"]
 

http://git-wip-us.apache.org/repos/asf/hive/blob/be59e024/ql/src/test/results/clientpositive/perf/query69.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query69.q.out b/ql/src/test/results/clientpositive/perf/query69.q.out
index 8bd154f..87087ac 100644
--- a/ql/src/test/results/clientpositive/perf/query69.q.out
+++ b/ql/src/test/results/clientpositive/perf/query69.q.out
@@ -91,15 +91,15 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 10 <- Map 12 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE)
-Reducer 11 <- Reducer 10 (SIMPLE_EDGE)
-Reducer 14 <- Map 13 (SIMPLE_EDGE), Map 16 (SIMPLE_EDGE)
-Reducer 15 <- Reducer 14 (SIMPLE_EDGE)
+Reducer 11 <- Map 10 (SIMPLE_EDGE), Map 13 (SIMPLE_EDGE)
+Reducer 12 <- Reducer 11 (SIMPLE_EDGE)
+Reducer 15 <- Map 14 (SIMPLE_EDGE), Map 17 (SIMPLE_EDGE)
+Reducer 16 <- Reducer 15 (SIMPLE_EDGE)
 Reducer 19 <- Map 18 (SIMPLE_EDGE), Map 21 (SIMPLE_EDGE)
 Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE)
 Reducer 20 <- Reducer 19 (SIMPLE_EDGE)
-Reducer 3 <- Reducer 11 (SIMPLE_EDGE), Reducer 15 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
-Reducer 4 <- Map 17 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
+Reducer 3 <- Map 9 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 4 <- Reducer 12 (SIMPLE_EDGE), Reducer 16 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
 Reducer 5 <- Reducer 20 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE)
 Reducer 6 <- Reducer 5 (SIMPLE_EDGE)
 Reducer 7 <- Reducer 6 (SIMPLE_EDGE)
@@ -112,46 +112,46 @@ Stage-0
       File Output Operator [FS_76]
         Limit [LIM_75] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_74] (rows=52707204 width=88)
+          Select Operator [SEL_74] (rows=95831279 width=88)
             Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"]
           <-Reducer 6 [SIMPLE_EDGE]
             SHUFFLE [RS_73]
-              Select Operator [SEL_72] (rows=52707204 width=88)
+              Select Operator [SEL_72] (rows=95831279 width=88)
                 Output:["_col0","_col1","_col2","_col3","_col4","_col6"]
-                Group By Operator [GBY_71] (rows=52707204 width=88)
+                Group By Operator [GBY_71] (rows=95831279 width=88)
                   Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3, KEY._col4
                 <-Reducer 5 [SIMPLE_EDGE]
                   SHUFFLE [RS_70]
                     PartitionCols:_col0, _col1, _col2, _col3, _col4
-                    Group By Operator [GBY_69] (rows=105414409 width=88)
+                    Group By Operator [GBY_69] (rows=191662559 width=88)
                       Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count()"],keys:_col6, _col7, _col8, _col9, _col10
-                      Select Operator [SEL_68] (rows=105414409 width=88)
+                      Select Operator [SEL_68] (rows=191662559 width=88)
                         Output:["_col6","_col7","_col8","_col9","_col10"]
-                        Filter Operator [FIL_67] (rows=105414409 width=88)
+                        Filter Operator [FIL_67] (rows=191662559 width=88)
                           predicate:_col15 is null
-                          Merge Join Operator [MERGEJOIN_117] (rows=210828818 width=88)
+                          Merge Join Operator [MERGEJOIN_114] (rows=383325119 width=88)
                             Conds:RS_64._col0=RS_65._col0(Left Outer),Output:["_col6","_col7","_col8","_col9","_col10","_col15"]
                           <-Reducer 20 [SIMPLE_EDGE]
                             SHUFFLE [RS_65]
                               PartitionCols:_col0
-                              Select Operator [SEL_63] (rows=79197206 width=135)
+                              Select Operator [SEL_63] (rows=158394413 width=135)
                                 Output:["_col0","_col1"]
-                                Group By Operator [GBY_62] (rows=79197206 width=135)
+                                Group By Operator [GBY_62] (rows=158394413 width=135)
                                   Output:["_col0"],keys:KEY._col0
                                 <-Reducer 19 [SIMPLE_EDGE]
                                   SHUFFLE [RS_61]
                                     PartitionCols:_col0
-                                    Group By Operator [GBY_60] (rows=158394413 width=135)
+                                    Group By Operator [GBY_60] (rows=316788826 width=135)
                                       Output:["_col0"],keys:_col1
-                                      Merge Join Operator [MERGEJOIN_116] (rows=158394413 width=135)
+                                      Merge Join Operator [MERGEJOIN_112] (rows=316788826 width=135)
                                         Conds:RS_56._col0=RS_57._col0(Inner),Output:["_col1"]
                                       <-Map 18 [SIMPLE_EDGE]
                                         SHUFFLE [RS_56]
                                           PartitionCols:_col0
-                                          Select Operator [SEL_52] (rows=143994918 width=135)
+                                          Select Operator [SEL_52] (rows=287989836 width=135)
                                             Output:["_col0","_col1"]
-                                            Filter Operator [FIL_109] (rows=143994918 width=135)
-                                              predicate:((cs_ship_customer_sk = cs_ship_customer_sk) and cs_sold_date_sk is not null)
+                                            Filter Operator [FIL_106] (rows=287989836 width=135)
+                                              predicate:(cs_ship_customer_sk is not null and cs_sold_date_sk is not null)
                                               TableScan [TS_50] (rows=287989836 width=135)
                                                 default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_ship_customer_sk"]
                                       <-Map 21 [SIMPLE_EDGE]
@@ -159,108 +159,108 @@ Stage-0
                                           PartitionCols:_col0
                                           Select Operator [SEL_55] (rows=4058 width=1119)
                                             Output:["_col0"]
-                                            Filter Operator [FIL_110] (rows=4058 width=1119)
+                                            Filter Operator [FIL_107] (rows=4058 width=1119)
                                               predicate:((d_year = 1999) and d_moy BETWEEN 1 AND 3 and d_date_sk is not null)
                                               TableScan [TS_53] (rows=73049 width=1119)
                                                 default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
                           <-Reducer 4 [SIMPLE_EDGE]
                             SHUFFLE [RS_64]
                               PartitionCols:_col0
-                              Select Operator [SEL_49] (rows=191662558 width=88)
+                              Select Operator [SEL_49] (rows=348477374 width=88)
                                 Output:["_col0","_col6","_col7","_col8","_col9","_col10"]
-                                Filter Operator [FIL_48] (rows=191662558 width=88)
+                                Filter Operator [FIL_48] (rows=348477374 width=88)
                                   predicate:_col13 is null
-                                  Select Operator [SEL_47] (rows=383325116 width=88)
+                                  Select Operator [SEL_47] (rows=696954748 width=88)
                                     Output:["_col0","_col6","_col7","_col8","_col9","_col10","_col13"]
-                                    Merge Join Operator [MERGEJOIN_115] (rows=383325116 width=88)
-                                      Conds:RS_44._col1=RS_45._col0(Inner),Output:["_col0","_col7","_col9","_col10","_col11","_col12","_col13"]
-                                    <-Map 17 [SIMPLE_EDGE]
+                                    Merge Join Operator [MERGEJOIN_113] (rows=696954748 width=88)
+                                      Conds:RS_43._col0=RS_44._col0(Left Outer),RS_43._col0=RS_45._col0(Inner),Output:["_col0","_col6","_col7","_col8","_col9","_col10","_col12"]
+                                    <-Reducer 12 [SIMPLE_EDGE]
+                                      SHUFFLE [RS_44]
+                                        PartitionCols:_col0
+                                        Select Operator [SEL_22] (rows=79201469 width=135)
+                                          Output:["_col0","_col1"]
+                                          Group By Operator [GBY_21] (rows=79201469 width=135)
+                                            Output:["_col0"],keys:KEY._col0
+                                          <-Reducer 11 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_20]
+                                              PartitionCols:_col0
+                                              Group By Operator [GBY_19] (rows=158402938 width=135)
+                                                Output:["_col0"],keys:_col1
+                                                Merge Join Operator [MERGEJOIN_110] (rows=158402938 width=135)
+                                                  Conds:RS_15._col0=RS_16._col0(Inner),Output:["_col1"]
+                                                <-Map 10 [SIMPLE_EDGE]
+                                                  SHUFFLE [RS_15]
+                                                    PartitionCols:_col0
+                                                    Select Operator [SEL_11] (rows=144002668 width=135)
+                                                      Output:["_col0","_col1"]
+                                                      Filter Operator [FIL_102] (rows=144002668 width=135)
+                                                        predicate:(ws_bill_customer_sk is not null and ws_sold_date_sk is not null)
+                                                        TableScan [TS_9] (rows=144002668 width=135)
+                                                          default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_bill_customer_sk"]
+                                                <-Map 13 [SIMPLE_EDGE]
+                                                  SHUFFLE [RS_16]
+                                                    PartitionCols:_col0
+                                                    Select Operator [SEL_14] (rows=4058 width=1119)
+                                                      Output:["_col0"]
+                                                      Filter Operator [FIL_103] (rows=4058 width=1119)
+                                                        predicate:((d_year = 1999) and d_moy BETWEEN 1 AND 3 and d_date_sk is not null)
+                                                        TableScan [TS_12] (rows=73049 width=1119)
+                                                          default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
+                                    <-Reducer 16 [SIMPLE_EDGE]
                                       SHUFFLE [RS_45]
                                         PartitionCols:_col0
-                                        Select Operator [SEL_36] (rows=1861800 width=385)
-                                          Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                          Filter Operator [FIL_108] (rows=1861800 width=385)
-                                            predicate:cd_demo_sk is not null
-                                            TableScan [TS_34] (rows=1861800 width=385)
-                                              default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_gender","cd_marital_status","cd_education_status","cd_purchase_estimate","cd_credit_rating"]
-                                    <-Reducer 3 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_44]
-                                        PartitionCols:_col1
-                                        Merge Join Operator [MERGEJOIN_114] (rows=348477371 width=88)
-                                          Conds:RS_40._col0=RS_41._col0(Inner),RS_40._col0=RS_42._col0(Left Outer),Output:["_col0","_col1","_col7"]
-                                        <-Reducer 11 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_41]
-                                            PartitionCols:_col0
-                                            Group By Operator [GBY_18] (rows=158398802 width=88)
-                                              Output:["_col0"],keys:KEY._col0
-                                            <-Reducer 10 [SIMPLE_EDGE]
-                                              SHUFFLE [RS_17]
-                                                PartitionCols:_col0
-                                                Group By Operator [GBY_16] (rows=316797605 width=88)
-                                                  Output:["_col0"],keys:_col1
-                                                  Merge Join Operator [MERGEJOIN_112] (rows=316797605 width=88)
-                                                    Conds:RS_12._col0=RS_13._col0(Inner),Output:["_col1"]
-                                                  <-Map 12 [SIMPLE_EDGE]
-                                                    SHUFFLE [RS_13]
-                                                      PartitionCols:_col0
-                                                      Select Operator [SEL_11] (rows=4058 width=1119)
-                                                        Output:["_col0"]
-                                                        Filter Operator [FIL_105] (rows=4058 width=1119)
-                                                          predicate:((d_year = 1999) and d_moy BETWEEN 1 AND 3 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_year","d_moy"]
-                                                  <-Map 9 [SIMPLE_EDGE]
-                                                    SHUFFLE [RS_12]
-                                                      PartitionCols:_col0
-                                                      Select Operator [SEL_8] (rows=287997817 width=88)
-                                                        Output:["_col0","_col1"]
-                                                        Filter Operator [FIL_104] (rows=287997817 width=88)
-                                                          predicate:((ss_customer_sk = ss_customer_sk) 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_customer_sk"]
+                                        Group By Operator [GBY_35] (rows=316797606 width=88)
+                                          Output:["_col0"],keys:KEY._col0
                                         <-Reducer 15 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_42]
+                                          SHUFFLE [RS_34]
                                             PartitionCols:_col0
-                                            Select Operator [SEL_33] (rows=39600734 width=135)
-                                              Output:["_col0","_col1"]
-                                              Group By Operator [GBY_32] (rows=39600734 width=135)
-                                                Output:["_col0"],keys:KEY._col0
-                                              <-Reducer 14 [SIMPLE_EDGE]
-                                                SHUFFLE [RS_31]
+                                            Group By Operator [GBY_33] (rows=633595212 width=88)
+                                              Output:["_col0"],keys:_col1
+                                              Merge Join Operator [MERGEJOIN_111] (rows=633595212 width=88)
+                                                Conds:RS_29._col0=RS_30._col0(Inner),Output:["_col1"]
+                                              <-Map 14 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_29]
                                                   PartitionCols:_col0
-                                                  Group By Operator [GBY_30] (rows=79201469 width=135)
-                                                    Output:["_col0"],keys:_col1
-                                                    Merge Join Operator [MERGEJOIN_113] (rows=79201469 width=135)
-                                                      Conds:RS_26._col0=RS_27._col0(Inner),Output:["_col1"]
-                                                    <-Map 13 [SIMPLE_EDGE]
-                                                      SHUFFLE [RS_26]
-                                                        PartitionCols:_col0
-                                                        Select Operator [SEL_22] (rows=72001334 width=135)
-                                                          Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_106] (rows=72001334 width=135)
-                                                            predicate:((ws_bill_customer_sk = ws_bill_customer_sk) and ws_sold_date_sk is not null)
-                                                            TableScan [TS_20] (rows=144002668 width=135)
-                                                              default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_bill_customer_sk"]
-                                                    <-Map 16 [SIMPLE_EDGE]
-                                                      SHUFFLE [RS_27]
-                                                        PartitionCols:_col0
-                                                        Select Operator [SEL_25] (rows=4058 width=1119)
-                                                          Output:["_col0"]
-                                                          Filter Operator [FIL_107] (rows=4058 width=1119)
-                                                            predicate:((d_year = 1999) and d_moy BETWEEN 1 AND 3 and d_date_sk is not null)
-                                                            TableScan [TS_23] (rows=73049 width=1119)
-                                                              default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
+                                                  Select Operator [SEL_25] (rows=575995635 width=88)
+                                                    Output:["_col0","_col1"]
+                                                    Filter Operator [FIL_104] (rows=575995635 width=88)
+                                                      predicate:(ss_customer_sk is not null and ss_sold_date_sk is not null)
+                                                      TableScan [TS_23] (rows=575995635 width=88)
+                                                        default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_customer_sk"]
+                                              <-Map 17 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_30]
+                                                  PartitionCols:_col0
+                                                  Select Operator [SEL_28] (rows=4058 width=1119)
+                                                    Output:["_col0"]
+                                                    Filter Operator [FIL_105] (rows=4058 width=1119)
+                                                      predicate:((d_year = 1999) and d_moy BETWEEN 1 AND 3 and d_date_sk is not null)
+                                                      TableScan [TS_26] (rows=73049 width=1119)
+                                                        default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"]
+                                    <-Reducer 3 [SIMPLE_EDGE]
+                                      SHUFFLE [RS_43]
+                                        PartitionCols:_col0
+                                        Merge Join Operator [MERGEJOIN_109] (rows=96800003 width=860)
+                                          Conds:RS_40._col1=RS_41._col0(Inner),Output:["_col0","_col6","_col7","_col8","_col9","_col10"]
+                                        <-Map 9 [SIMPLE_EDGE]
+                                          SHUFFLE [RS_41]
+                                            PartitionCols:_col0
+                                            Select Operator [SEL_8] (rows=1861800 width=385)
+                                              Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                              Filter Operator [FIL_101] (rows=1861800 width=385)
+                                                predicate:cd_demo_sk is not null
+                                                TableScan [TS_6] (rows=1861800 width=385)
+                                                  default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_gender","cd_marital_status","cd_education_status","cd_purchase_estimate","cd_credit_rating"]
                                         <-Reducer 2 [SIMPLE_EDGE]
                                           SHUFFLE [RS_40]
-                                            PartitionCols:_col0
-                                            Merge Join Operator [MERGEJOIN_111] (rows=88000001 width=860)
+                                            PartitionCols:_col1
+                                            Merge Join Operator [MERGEJOIN_108] (rows=88000001 width=860)
                                               Conds:RS_37._col2=RS_38._col0(Inner),Output:["_col0","_col1"]
                                             <-Map 1 [SIMPLE_EDGE]
                                               SHUFFLE [RS_37]
                                                 PartitionCols:_col2
                                                 Select Operator [SEL_2] (rows=80000000 width=860)
                                                   Output:["_col0","_col1","_col2"]
-                                                  Filter Operator [FIL_102] (rows=80000000 width=860)
+                                                  Filter Operator [FIL_99] (rows=80000000 width=860)
                                                     predicate:(c_current_addr_sk is not null and c_current_cdemo_sk is not null)
                                                     TableScan [TS_0] (rows=80000000 width=860)
                                                       default@customer,c,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk","c_current_cdemo_sk","c_current_addr_sk"]
@@ -269,7 +269,7 @@ Stage-0
                                                 PartitionCols:_col0
                                                 Select Operator [SEL_5] (rows=20000000 width=1014)
                                                   Output:["_col0"]
-                                                  Filter Operator [FIL_103] (rows=20000000 width=1014)
+                                                  Filter Operator [FIL_100] (rows=20000000 width=1014)
                                                     predicate:((ca_state) IN ('CO', 'IL', 'MN') and ca_address_sk is not null)
                                                     TableScan [TS_3] (rows=40000000 width=1014)
                                                       default@customer_address,ca,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_state"]

http://git-wip-us.apache.org/repos/asf/hive/blob/be59e024/ql/src/test/results/clientpositive/perf/query70.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query70.q.out b/ql/src/test/results/clientpositive/perf/query70.q.out
index 95b740b..8e42fac 100644
--- a/ql/src/test/results/clientpositive/perf/query70.q.out
+++ b/ql/src/test/results/clientpositive/perf/query70.q.out
@@ -91,117 +91,115 @@ Stage-0
     limit:100
     Stage-1
       Reducer 7
-      File Output Operator [FS_62]
-        Limit [LIM_61] (rows=100 width=88)
+      File Output Operator [FS_60]
+        Limit [LIM_59] (rows=100 width=88)
           Number of rows:100
-          Select Operator [SEL_60] (rows=1149975358 width=88)
+          Select Operator [SEL_58] (rows=1149975358 width=88)
             Output:["_col0","_col1","_col2","_col3","_col4"]
           <-Reducer 6 [SIMPLE_EDGE]
-            SHUFFLE [RS_59]
-              Select Operator [SEL_57] (rows=1149975358 width=88)
+            SHUFFLE [RS_57]
+              Select Operator [SEL_55] (rows=1149975358 width=88)
                 Output:["_col0","_col1","_col2","_col3","_col4"]
-                PTF Operator [PTF_56] (rows=1149975358 width=88)
+                PTF Operator [PTF_54] (rows=1149975358 width=88)
                   Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col4 DESC NULLS LAST","partition by:":"(grouping(_col5, 1) + grouping(_col5, 0)), CASE WHEN ((grouping(_col5, 0) = 0)) THEN (_col0) ELSE (null) END"}]
-                  Select Operator [SEL_55] (rows=1149975358 width=88)
+                  Select Operator [SEL_53] (rows=1149975358 width=88)
                     Output:["_col0","_col1","_col4","_col5"]
                   <-Reducer 5 [SIMPLE_EDGE]
-                    SHUFFLE [RS_54]
+                    SHUFFLE [RS_52]
                       PartitionCols:(grouping(_col5, 1) + grouping(_col5, 0)), CASE WHEN ((grouping(_col5, 0) = 0)) THEN (_col0) ELSE (null) END
-                      Select Operator [SEL_53] (rows=1149975358 width=88)
+                      Select Operator [SEL_51] (rows=1149975358 width=88)
                         Output:["_col0","_col1","_col4","_col5"]
-                        Group By Operator [GBY_52] (rows=1149975358 width=88)
+                        Group By Operator [GBY_50] (rows=1149975358 width=88)
                           Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2
                         <-Reducer 4 [SIMPLE_EDGE]
-                          SHUFFLE [RS_51]
+                          SHUFFLE [RS_49]
                             PartitionCols:_col0, _col1, _col2
-                            Group By Operator [GBY_50] (rows=2299950717 width=88)
+                            Group By Operator [GBY_48] (rows=2299950717 width=88)
                               Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(_col2)"],keys:_col0, _col1, 0
-                              Select Operator [SEL_48] (rows=766650239 width=88)
+                              Select Operator [SEL_46] (rows=766650239 width=88)
                                 Output:["_col0","_col1","_col2"]
-                                Merge Join Operator [MERGEJOIN_90] (rows=766650239 width=88)
-                                  Conds:RS_45._col7=RS_46._col0(Left Semi),Output:["_col2","_col6","_col7"]
+                                Merge Join Operator [MERGEJOIN_88] (rows=766650239 width=88)
+                                  Conds:RS_43._col7=RS_44._col0(Inner),Output:["_col2","_col6","_col7"]
                                 <-Reducer 14 [SIMPLE_EDGE]
-                                  SHUFFLE [RS_46]
+                                  SHUFFLE [RS_44]
                                     PartitionCols:_col0
-                                    Group By Operator [GBY_44] (rows=116159124 width=88)
-                                      Output:["_col0"],keys:_col0
-                                      Select Operator [SEL_32] (rows=116159124 width=88)
-                                        Output:["_col0"]
-                                        Filter Operator [FIL_82] (rows=116159124 width=88)
-                                          predicate:(rank_window_0 <= 5)
-                                          PTF Operator [PTF_31] (rows=348477374 width=88)
-                                            Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 DESC NULLS LAST","partition by:":"_col0"}]
-                                            Select Operator [SEL_30] (rows=348477374 width=88)
-                                              Output:["_col0","_col1"]
-                                            <-Reducer 13 [SIMPLE_EDGE]
-                                              SHUFFLE [RS_29]
-                                                PartitionCols:_col0
-                                                Group By Operator [GBY_27] (rows=348477374 width=88)
-                                                  Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
-                                                <-Reducer 12 [SIMPLE_EDGE]
-                                                  SHUFFLE [RS_26]
-                                                    PartitionCols:_col0
-                                                    Group By Operator [GBY_25] (rows=696954748 width=88)
-                                                      Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col6
-                                                      Merge Join Operator [MERGEJOIN_89] (rows=696954748 width=88)
-                                                        Conds:RS_21._col1=RS_22._col0(Inner),Output:["_col2","_col6"]
-                                                      <-Map 16 [SIMPLE_EDGE]
-                                                        SHUFFLE [RS_22]
-                                                          PartitionCols:_col0
-                                                          Select Operator [SEL_17] (rows=1704 width=1910)
-                                                            Output:["_col0","_col1"]
-                                                            Filter Operator [FIL_85] (rows=1704 width=1910)
-                                                              predicate:(s_store_sk is not null and s_state is not null)
-                                                              TableScan [TS_15] (rows=1704 width=1910)
-                                                                default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_state"]
-                                                      <-Reducer 11 [SIMPLE_EDGE]
-                                                        SHUFFLE [RS_21]
-                                                          PartitionCols:_col1
-                                                          Merge Join Operator [MERGEJOIN_88] (rows=633595212 width=88)
-                                                            Conds:RS_18._col0=RS_19._col0(Inner),Output:["_col1","_col2"]
-                                                          <-Map 10 [SIMPLE_EDGE]
-                                                            SHUFFLE [RS_18]
-                                                              PartitionCols:_col0
-                                                              Select Operator [SEL_11] (rows=575995635 width=88)
-                                                                Output:["_col0","_col1","_col2"]
-                                                                Filter Operator [FIL_83] (rows=575995635 width=88)
-                                                                  predicate:(ss_store_sk is not null and ss_sold_date_sk is not null)
-                                                                  TableScan [TS_9] (rows=575995635 width=88)
-                                                                    default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_store_sk","ss_net_profit"]
-                                                          <-Map 15 [SIMPLE_EDGE]
-                                                            SHUFFLE [RS_19]
-                                                              PartitionCols:_col0
-                                                              Select Operator [SEL_14] (rows=8116 width=1119)
-                                                                Output:["_col0"]
-                                                                Filter Operator [FIL_84] (rows=8116 width=1119)
-                                                                  predicate:(d_month_seq BETWEEN 1212 AND 1223 and d_date_sk is not null)
-                                                                  TableScan [TS_12] (rows=73049 width=1119)
-                                                                    default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"]
+                                    Select Operator [SEL_32] (rows=116159124 width=88)
+                                      Output:["_col0"]
+                                      Filter Operator [FIL_80] (rows=116159124 width=88)
+                                        predicate:(rank_window_0 <= 5)
+                                        PTF Operator [PTF_31] (rows=348477374 width=88)
+                                          Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 DESC NULLS LAST","partition by:":"_col0"}]
+                                          Select Operator [SEL_30] (rows=348477374 width=88)
+                                            Output:["_col0","_col1"]
+                                          <-Reducer 13 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_29]
+                                              PartitionCols:_col0
+                                              Group By Operator [GBY_27] (rows=348477374 width=88)
+                                                Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0
+                                              <-Reducer 12 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_26]
+                                                  PartitionCols:_col0
+                                                  Group By Operator [GBY_25] (rows=696954748 width=88)
+                                                    Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col6
+                                                    Merge Join Operator [MERGEJOIN_87] (rows=696954748 width=88)
+                                                      Conds:RS_21._col1=RS_22._col0(Inner),Output:["_col2","_col6"]
+                                                    <-Map 16 [SIMPLE_EDGE]
+                                                      SHUFFLE [RS_22]
+                                                        PartitionCols:_col0
+                                                        Select Operator [SEL_17] (rows=1704 width=1910)
+                                                          Output:["_col0","_col1"]
+                                                          Filter Operator [FIL_83] (rows=1704 width=1910)
+                                                            predicate:(s_store_sk is not null and s_state is not null)
+                                                            TableScan [TS_15] (rows=1704 width=1910)
+                                                              default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_state"]
+                                                    <-Reducer 11 [SIMPLE_EDGE]
+                                                      SHUFFLE [RS_21]
+                                                        PartitionCols:_col1
+                                                        Merge Join Operator [MERGEJOIN_86] (rows=633595212 width=88)
+                                                          Conds:RS_18._col0=RS_19._col0(Inner),Output:["_col1","_col2"]
+                                                        <-Map 10 [SIMPLE_EDGE]
+                                                          SHUFFLE [RS_18]
+                                                            PartitionCols:_col0
+                                                            Select Operator [SEL_11] (rows=575995635 width=88)
+                                                              Output:["_col0","_col1","_col2"]
+                                                              Filter Operator [FIL_81] (rows=575995635 width=88)
+                                                                predicate:(ss_store_sk is not null and ss_sold_date_sk is not null)
+                                                                TableScan [TS_9] (rows=575995635 width=88)
+                                                                  default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_store_sk","ss_net_profit"]
+                                                        <-Map 15 [SIMPLE_EDGE]
+                                                          SHUFFLE [RS_19]
+                                                            PartitionCols:_col0
+                                                            Select Operator [SEL_14] (rows=8116 width=1119)
+                                                              Output:["_col0"]
+                                                              Filter Operator [FIL_82] (rows=8116 width=1119)
+                                                                predicate:(d_month_seq BETWEEN 1212 AND 1223 and d_date_sk is not null)
+                                                                TableScan [TS_12] (rows=73049 width=1119)
+                                                                  default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"]
                                 <-Reducer 3 [SIMPLE_EDGE]
-                                  SHUFFLE [RS_45]
+                                  SHUFFLE [RS_43]
                                     PartitionCols:_col7
-                                    Merge Join Operator [MERGEJOIN_87] (rows=696954748 width=88)
+                                    Merge Join Operator [MERGEJOIN_85] (rows=696954748 width=88)
                                       Conds:RS_40._col1=RS_41._col0(Inner),Output:["_col2","_col6","_col7"]
                                     <-Map 9 [SIMPLE_EDGE]
                                       SHUFFLE [RS_41]
                                         PartitionCols:_col0
                                         Select Operator [SEL_8] (rows=1704 width=1910)
                                           Output:["_col0","_col1","_col2"]
-                                          Filter Operator [FIL_81] (rows=1704 width=1910)
+                                          Filter Operator [FIL_79] (rows=1704 width=1910)
                                             predicate:(s_state is not null and s_store_sk is not null)
                                             TableScan [TS_6] (rows=1704 width=1910)
                                               default@store,s,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_county","s_state"]
                                     <-Reducer 2 [SIMPLE_EDGE]
                                       SHUFFLE [RS_40]
                                         PartitionCols:_col1
-                                        Merge Join Operator [MERGEJOIN_86] (rows=633595212 width=88)
+                                        Merge Join Operator [MERGEJOIN_84] (rows=633595212 width=88)
                                           Conds:RS_37._col0=RS_38._col0(Inner),Output:["_col1","_col2"]
                                         <-Map 1 [SIMPLE_EDGE]
                                           SHUFFLE [RS_37]
                                             PartitionCols:_col0
                                             Select Operator [SEL_2] (rows=575995635 width=88)
                                               Output:["_col0","_col1","_col2"]
-                                              Filter Operator [FIL_79] (rows=575995635 width=88)
+                                              Filter Operator [FIL_77] (rows=575995635 width=88)
                                                 predicate:(ss_sold_date_sk is not null and ss_store_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_store_sk","ss_net_profit"]
@@ -210,7 +208,7 @@ Stage-0
                                             PartitionCols:_col0
                                             Select Operator [SEL_5] (rows=8116 width=1119)
                                               Output:["_col0"]
-                                              Filter Operator [FIL_80] (rows=8116 width=1119)
+                                              Filter Operator [FIL_78] (rows=8116 width=1119)
                                                 predicate:(d_month_seq BETWEEN 1212 AND 1223 and d_date_sk is not null)
                                                 TableScan [TS_3] (rows=73049 width=1119)
                                                   default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"]