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/08 03:58:07 UTC

[06/14] hive git commit: HIVE-14564 : Column Pruning generates out of order columns in SelectOperator which cause ArrayIndexOutOfBoundsException. (Zhihai Xu via Ashutosh Chauhan)

http://git-wip-us.apache.org/repos/asf/hive/blob/78d8b337/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 468c1bc..ceb11e7 100644
--- a/ql/src/test/results/clientpositive/perf/query64.q.out
+++ b/ql/src/test/results/clientpositive/perf/query64.q.out
@@ -59,7 +59,7 @@ Stage-0
         <-Reducer 5 [SIMPLE_EDGE]
           SHUFFLE [RS_265]
             Select Operator [SEL_264] (rows=331415616 width=88)
-              Output:["_col0","_col1","_col10","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col2","_col20","_col3","_col4","_col5","_col6","_col7","_col8","_col9"]
+              Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col20"]
               Filter Operator [FIL_263] (rows=331415616 width=88)
                 predicate:(_col30 <= _col13)
                 Merge Join Operator [MERGEJOIN_658] (rows=994246850 width=88)
@@ -68,7 +68,7 @@ Stage-0
                   SHUFFLE [RS_260]
                     PartitionCols:_col2, _col1, _col3
                     Select Operator [SEL_128] (rows=903860754 width=88)
-                      Output:["_col0","_col1","_col10","_col11","_col13","_col14","_col15","_col16","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"]
+                      Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col13","_col14","_col15","_col16"]
                       Group By Operator [GBY_127] (rows=903860754 width=88)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17"],aggregations:["count(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3, KEY._col4, KEY._col5, KEY._col6, KEY._col7, KEY._col8, KEY._col9, KEY._col10, KEY._col11, KEY._col12, KEY._col13
                       <-Reducer 3 [SIMPLE_EDGE]
@@ -76,296 +76,294 @@ Stage-0
                           PartitionCols:_col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13
                           Group By Operator [GBY_125] (rows=1807721509 width=88)
                             Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17"],aggregations:["count()","sum(_col26)","sum(_col27)","sum(_col28)"],keys:_col44, _col50, _col45, _col4, _col5, _col6, _col7, _col9, _col10, _col11, _col12, _col40, _col42, _col53
-                            Select Operator [SEL_124] (rows=1807721509 width=88)
-                              Output:["_col44","_col50","_col45","_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col40","_col42","_col53","_col26","_col27","_col28"]
-                              Merge Join Operator [MERGEJOIN_656] (rows=1807721509 width=88)
-                                Conds:RS_121._col0=RS_122._col18(Inner),Output:["_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col26","_col27","_col28","_col40","_col42","_col44","_col45","_col50","_col53"]
-                              <-Reducer 13 [SIMPLE_EDGE]
-                                SHUFFLE [RS_122]
-                                  PartitionCols:_col18
-                                  Select Operator [SEL_117] (rows=1643383155 width=88)
-                                    Output:["_col1","_col18","_col2","_col23","_col24","_col25","_col3","_col37","_col39","_col4","_col41","_col42","_col47","_col50","_col6","_col7","_col8","_col9"]
-                                    Merge Join Operator [MERGEJOIN_638] (rows=1643383155 width=88)
-                                      Conds:RS_114._col21=RS_115._col0(Inner),Output:["_col8","_col13","_col14","_col15","_col27","_col29","_col31","_col32","_col37","_col40","_col45","_col46","_col47","_col48","_col50","_col51","_col52","_col53"]
-                                    <-Map 41 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_115]
-                                        PartitionCols:_col0
-                                        Select Operator [SEL_101] (rows=40000000 width=1014)
-                                          Output:["_col0","_col1","_col2","_col3","_col4"]
-                                          Filter Operator [FIL_602] (rows=40000000 width=1014)
-                                            predicate:ca_address_sk is not null
-                                            TableScan [TS_99] (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 12 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_114]
-                                        PartitionCols:_col21
-                                        Merge Join Operator [MERGEJOIN_637] (rows=1493984654 width=88)
-                                          Conds:RS_111._col9=RS_112._col0(Inner),Output:["_col8","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40","_col45","_col46","_col47","_col48"]
-                                        <-Map 40 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_112]
-                                            PartitionCols:_col0
-                                            Select Operator [SEL_98] (rows=40000000 width=1014)
-                                              Output:["_col0","_col1","_col2","_col3","_col4"]
-                                              Filter Operator [FIL_601] (rows=40000000 width=1014)
-                                                predicate:ca_address_sk is not null
-                                                TableScan [TS_96] (rows=40000000 width=1014)
-                                                  default@customer_address,ad1,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_street_number","ca_street_name","ca_city","ca_zip"]
-                                        <-Reducer 11 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_111]
-                                            PartitionCols:_col9
-                                            Merge Join Operator [MERGEJOIN_636] (rows=1358167838 width=88)
-                                              Conds:RS_108._col5=RS_109._col0(Inner),Output:["_col8","_col9","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40"]
-                                            <-Reducer 10 [SIMPLE_EDGE]
-                                              SHUFFLE [RS_108]
-                                                PartitionCols:_col5
-                                                Merge Join Operator [MERGEJOIN_635] (rows=1234698008 width=88)
-                                                  Conds:RS_105._col0=RS_106._col17(Inner),Output:["_col5","_col8","_col9","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40"]
-                                                <-Reducer 21 [SIMPLE_EDGE]
-                                                  SHUFFLE [RS_106]
-                                                    PartitionCols:_col17
-                                                    Select Operator [SEL_79] (rows=1122452711 width=88)
-                                                      Output:["_col10","_col11","_col12","_col17","_col18","_col2","_col24","_col26","_col28","_col29","_col34","_col37","_col5","_col6"]
-                                                      Merge Join Operator [MERGEJOIN_633] (rows=1122452711 width=88)
-                                                        Conds:RS_76._col7=RS_77._col0(Inner),Output:["_col1","_col4","_col5","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col33","_col36"]
-                                                      <-Map 35 [SIMPLE_EDGE]
-                                                        SHUFFLE [RS_77]
-                                                          PartitionCols:_col0
-                                                          Select Operator [SEL_72] (rows=2300 width=1179)
-                                                            Output:["_col0"]
-                                                            Filter Operator [FIL_598] (rows=2300 width=1179)
-                                                              predicate:p_promo_sk is not null
-                                                              TableScan [TS_70] (rows=2300 width=1179)
-                                                                default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk"]
-                                                      <-Reducer 20 [SIMPLE_EDGE]
-                                                        SHUFFLE [RS_76]
-                                                          PartitionCols:_col7
-                                                          Merge Join Operator [MERGEJOIN_632] (rows=1020411534 width=88)
-                                                            Conds:RS_73._col1=RS_74._col0(Inner),Output:["_col1","_col4","_col5","_col7","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col33","_col36"]
-                                                          <-Map 34 [SIMPLE_EDGE]
-                                                            SHUFFLE [RS_74]
-                                                              PartitionCols:_col0
-                                                              Select Operator [SEL_69] (rows=2851 width=1436)
-                                                                Output:["_col0","_col3"]
-                                                                Filter Operator [FIL_597] (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_67] (rows=462000 width=1436)
-                                                                    default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price","i_color","i_product_name"]
-                                                          <-Reducer 19 [SIMPLE_EDGE]
-                                                            SHUFFLE [RS_73]
-                                                              PartitionCols:_col1
-                                                              Select Operator [SEL_66] (rows=927646829 width=88)
-                                                                Output:["_col1","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col4","_col5","_col7","_col9"]
-                                                                Filter Operator [FIL_65] (rows=927646829 width=88)
-                                                                  predicate:(_col30 <> _col32)
-                                                                  Select Operator [SEL_64] (rows=927646829 width=88)
-                                                                    Output:["_col1","_col4","_col5","_col7","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col30","_col32"]
-                                                                    Merge Join Operator [MERGEJOIN_631] (rows=927646829 width=88)
-                                                                      Conds:RS_61._col0=RS_62._col4(Inner),Output:["_col2","_col3","_col7","_col9","_col11","_col13","_col15","_col18","_col19","_col21","_col23","_col24","_col25","_col31","_col32"]
-                                                                    <-Reducer 18 [SIMPLE_EDGE]
-                                                                      SHUFFLE [RS_61]
-                                                                        PartitionCols:_col0
-                                                                        Merge Join Operator [MERGEJOIN_626] (rows=106480005 width=860)
-                                                                          Conds:RS_58._col1=RS_59._col0(Inner),Output:["_col0","_col2","_col3","_col7","_col9","_col11"]
-                                                                        <-Map 24 [SIMPLE_EDGE]
-                                                                          SHUFFLE [RS_59]
+                            Merge Join Operator [MERGEJOIN_656] (rows=1807721509 width=88)
+                              Conds:RS_121._col0=RS_122._col18(Inner),Output:["_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col26","_col27","_col28","_col40","_col42","_col44","_col45","_col50","_col53"]
+                            <-Reducer 13 [SIMPLE_EDGE]
+                              SHUFFLE [RS_122]
+                                PartitionCols:_col18
+                                Select Operator [SEL_117] (rows=1643383155 width=88)
+                                  Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col9","_col18","_col23","_col24","_col25","_col37","_col39","_col41","_col42","_col47","_col50"]
+                                  Merge Join Operator [MERGEJOIN_638] (rows=1643383155 width=88)
+                                    Conds:RS_114._col21=RS_115._col0(Inner),Output:["_col8","_col13","_col14","_col15","_col27","_col29","_col31","_col32","_col37","_col40","_col45","_col46","_col47","_col48","_col50","_col51","_col52","_col53"]
+                                  <-Map 41 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_115]
+                                      PartitionCols:_col0
+                                      Select Operator [SEL_101] (rows=40000000 width=1014)
+                                        Output:["_col0","_col1","_col2","_col3","_col4"]
+                                        Filter Operator [FIL_602] (rows=40000000 width=1014)
+                                          predicate:ca_address_sk is not null
+                                          TableScan [TS_99] (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 12 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_114]
+                                      PartitionCols:_col21
+                                      Merge Join Operator [MERGEJOIN_637] (rows=1493984654 width=88)
+                                        Conds:RS_111._col9=RS_112._col0(Inner),Output:["_col8","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40","_col45","_col46","_col47","_col48"]
+                                      <-Map 40 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_112]
+                                          PartitionCols:_col0
+                                          Select Operator [SEL_98] (rows=40000000 width=1014)
+                                            Output:["_col0","_col1","_col2","_col3","_col4"]
+                                            Filter Operator [FIL_601] (rows=40000000 width=1014)
+                                              predicate:ca_address_sk is not null
+                                              TableScan [TS_96] (rows=40000000 width=1014)
+                                                default@customer_address,ad1,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_street_number","ca_street_name","ca_city","ca_zip"]
+                                      <-Reducer 11 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_111]
+                                          PartitionCols:_col9
+                                          Merge Join Operator [MERGEJOIN_636] (rows=1358167838 width=88)
+                                            Conds:RS_108._col5=RS_109._col0(Inner),Output:["_col8","_col9","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40"]
+                                          <-Reducer 10 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_108]
+                                              PartitionCols:_col5
+                                              Merge Join Operator [MERGEJOIN_635] (rows=1234698008 width=88)
+                                                Conds:RS_105._col0=RS_106._col17(Inner),Output:["_col5","_col8","_col9","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40"]
+                                              <-Reducer 21 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_106]
+                                                  PartitionCols:_col17
+                                                  Select Operator [SEL_79] (rows=1122452711 width=88)
+                                                    Output:["_col2","_col5","_col6","_col10","_col11","_col12","_col17","_col18","_col24","_col26","_col28","_col29","_col34","_col37"]
+                                                    Merge Join Operator [MERGEJOIN_633] (rows=1122452711 width=88)
+                                                      Conds:RS_76._col7=RS_77._col0(Inner),Output:["_col1","_col4","_col5","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col33","_col36"]
+                                                    <-Map 35 [SIMPLE_EDGE]
+                                                      SHUFFLE [RS_77]
+                                                        PartitionCols:_col0
+                                                        Select Operator [SEL_72] (rows=2300 width=1179)
+                                                          Output:["_col0"]
+                                                          Filter Operator [FIL_598] (rows=2300 width=1179)
+                                                            predicate:p_promo_sk is not null
+                                                            TableScan [TS_70] (rows=2300 width=1179)
+                                                              default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk"]
+                                                    <-Reducer 20 [SIMPLE_EDGE]
+                                                      SHUFFLE [RS_76]
+                                                        PartitionCols:_col7
+                                                        Merge Join Operator [MERGEJOIN_632] (rows=1020411534 width=88)
+                                                          Conds:RS_73._col1=RS_74._col0(Inner),Output:["_col1","_col4","_col5","_col7","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col33","_col36"]
+                                                        <-Map 34 [SIMPLE_EDGE]
+                                                          SHUFFLE [RS_74]
+                                                            PartitionCols:_col0
+                                                            Select Operator [SEL_69] (rows=2851 width=1436)
+                                                              Output:["_col0","_col3"]
+                                                              Filter Operator [FIL_597] (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_67] (rows=462000 width=1436)
+                                                                  default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_current_price","i_color","i_product_name"]
+                                                        <-Reducer 19 [SIMPLE_EDGE]
+                                                          SHUFFLE [RS_73]
+                                                            PartitionCols:_col1
+                                                            Select Operator [SEL_66] (rows=927646829 width=88)
+                                                              Output:["_col1","_col4","_col5","_col7","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28"]
+                                                              Filter Operator [FIL_65] (rows=927646829 width=88)
+                                                                predicate:(_col30 <> _col32)
+                                                                Select Operator [SEL_64] (rows=927646829 width=88)
+                                                                  Output:["_col1","_col4","_col5","_col7","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col30","_col32"]
+                                                                  Merge Join Operator [MERGEJOIN_631] (rows=927646829 width=88)
+                                                                    Conds:RS_61._col0=RS_62._col4(Inner),Output:["_col2","_col3","_col7","_col9","_col11","_col13","_col15","_col18","_col19","_col21","_col23","_col24","_col25","_col31","_col32"]
+                                                                  <-Reducer 18 [SIMPLE_EDGE]
+                                                                    SHUFFLE [RS_61]
+                                                                      PartitionCols:_col0
+                                                                      Merge Join Operator [MERGEJOIN_626] (rows=106480005 width=860)
+                                                                        Conds:RS_58._col1=RS_59._col0(Inner),Output:["_col0","_col2","_col3","_col7","_col9","_col11"]
+                                                                      <-Map 24 [SIMPLE_EDGE]
+                                                                        SHUFFLE [RS_59]
+                                                                          PartitionCols:_col0
+                                                                          Select Operator [SEL_23] (rows=1861800 width=385)
+                                                                            Output:["_col0","_col1"]
+                                                                            Filter Operator [FIL_591] (rows=1861800 width=385)
+                                                                              predicate:cd_demo_sk is not null
+                                                                              TableScan [TS_21] (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_58]
+                                                                          PartitionCols:_col1
+                                                                          Merge Join Operator [MERGEJOIN_625] (rows=96800003 width=860)
+                                                                            Conds:RS_55._col4=RS_56._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col7","_col9"]
+                                                                          <-Map 23 [SIMPLE_EDGE]
+                                                                            SHUFFLE [RS_56]
+                                                                              PartitionCols:_col0
+                                                                              Select Operator [SEL_20] (rows=73049 width=1119)
+                                                                                Output:["_col0","_col1"]
+                                                                                Filter Operator [FIL_590] (rows=73049 width=1119)
+                                                                                  predicate:d_date_sk is not null
+                                                                                  TableScan [TS_18] (rows=73049 width=1119)
+                                                                                    default@date_dim,d3,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                                                                          <-Reducer 16 [SIMPLE_EDGE]
+                                                                            SHUFFLE [RS_55]
+                                                                              PartitionCols:_col4
+                                                                              Merge Join Operator [MERGEJOIN_624] (rows=88000001 width=860)
+                                                                                Conds:RS_52._col5=RS_53._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col7"]
+                                                                              <-Map 15 [SIMPLE_EDGE]
+                                                                                SHUFFLE [RS_52]
+                                                                                  PartitionCols:_col5
+                                                                                  Select Operator [SEL_14] (rows=80000000 width=860)
+                                                                                    Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
+                                                                                    Filter Operator [FIL_588] (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_12] (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"]
+                                                                              <-Map 22 [SIMPLE_EDGE]
+                                                                                SHUFFLE [RS_53]
+                                                                                  PartitionCols:_col0
+                                                                                  Select Operator [SEL_17] (rows=73049 width=1119)
+                                                                                    Output:["_col0","_col1"]
+                                                                                    Filter Operator [FIL_589] (rows=73049 width=1119)
+                                                                                      predicate:d_date_sk is not null
+                                                                                      TableScan [TS_15] (rows=73049 width=1119)
+                                                                                        default@date_dim,d2,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                                                                  <-Reducer 29 [SIMPLE_EDGE]
+                                                                    SHUFFLE [RS_62]
+                                                                      PartitionCols:_col4
+                                                                      Select Operator [SEL_51] (rows=843315281 width=88)
+                                                                        Output:["_col1","_col3","_col4","_col6","_col7","_col9","_col11","_col12","_col13","_col19","_col20"]
+                                                                        Merge Join Operator [MERGEJOIN_630] (rows=843315281 width=88)
+                                                                          Conds:RS_48._col3=RS_49._col0(Inner),Output:["_col1","_col2","_col4","_col5","_col7","_col9","_col10","_col11","_col17","_col18","_col20"]
+                                                                        <-Map 33 [SIMPLE_EDGE]
+                                                                          SHUFFLE [RS_49]
                                                                             PartitionCols:_col0
-                                                                            Select Operator [SEL_23] (rows=1861800 width=385)
+                                                                            Select Operator [SEL_38] (rows=1861800 width=385)
                                                                               Output:["_col0","_col1"]
-                                                                              Filter Operator [FIL_591] (rows=1861800 width=385)
+                                                                              Filter Operator [FIL_596] (rows=1861800 width=385)
                                                                                 predicate:cd_demo_sk is not null
-                                                                                TableScan [TS_21] (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_58]
-                                                                            PartitionCols:_col1
-                                                                            Merge Join Operator [MERGEJOIN_625] (rows=96800003 width=860)
-                                                                              Conds:RS_55._col4=RS_56._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col7","_col9"]
-                                                                            <-Map 23 [SIMPLE_EDGE]
-                                                                              SHUFFLE [RS_56]
+                                                                                TableScan [TS_36] (rows=1861800 width=385)
+                                                                                  default@customer_demographics,cd1,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status"]
+                                                                        <-Reducer 28 [SIMPLE_EDGE]
+                                                                          SHUFFLE [RS_48]
+                                                                            PartitionCols:_col3
+                                                                            Merge Join Operator [MERGEJOIN_629] (rows=766650239 width=88)
+                                                                              Conds:RS_45._col6=RS_46._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col7","_col9","_col10","_col11","_col17","_col18"]
+                                                                            <-Map 32 [SIMPLE_EDGE]
+                                                                              SHUFFLE [RS_46]
                                                                                 PartitionCols:_col0
-                                                                                Select Operator [SEL_20] (rows=73049 width=1119)
-                                                                                  Output:["_col0","_col1"]
-                                                                                  Filter Operator [FIL_590] (rows=73049 width=1119)
-                                                                                    predicate:d_date_sk is not null
-                                                                                    TableScan [TS_18] (rows=73049 width=1119)
-                                                                                      default@date_dim,d3,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
-                                                                            <-Reducer 16 [SIMPLE_EDGE]
-                                                                              SHUFFLE [RS_55]
-                                                                                PartitionCols:_col4
-                                                                                Merge Join Operator [MERGEJOIN_624] (rows=88000001 width=860)
-                                                                                  Conds:RS_52._col5=RS_53._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col7"]
-                                                                                <-Map 15 [SIMPLE_EDGE]
-                                                                                  SHUFFLE [RS_52]
-                                                                                    PartitionCols:_col5
-                                                                                    Select Operator [SEL_14] (rows=80000000 width=860)
-                                                                                      Output:["_col0","_col1","_col2","_col3","_col4","_col5"]
-                                                                                      Filter Operator [FIL_588] (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_12] (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"]
-                                                                                <-Map 22 [SIMPLE_EDGE]
-                                                                                  SHUFFLE [RS_53]
+                                                                                Select Operator [SEL_35] (rows=1704 width=1910)
+                                                                                  Output:["_col0","_col1","_col2"]
+                                                                                  Filter Operator [FIL_595] (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_33] (rows=1704 width=1910)
+                                                                                      default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_name","s_zip"]
+                                                                            <-Reducer 27 [SIMPLE_EDGE]
+                                                                              SHUFFLE [RS_45]
+                                                                                PartitionCols:_col6
+                                                                                Merge Join Operator [MERGEJOIN_628] (rows=696954748 width=88)
+                                                                                  Conds:RS_42._col0=RS_43._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col9","_col10","_col11"]
+                                                                                <-Map 31 [SIMPLE_EDGE]
+                                                                                  SHUFFLE [RS_43]
                                                                                     PartitionCols:_col0
-                                                                                    Select Operator [SEL_17] (rows=73049 width=1119)
-                                                                                      Output:["_col0","_col1"]
-                                                                                      Filter Operator [FIL_589] (rows=73049 width=1119)
-                                                                                        predicate:d_date_sk is not null
-                                                                                        TableScan [TS_15] (rows=73049 width=1119)
-                                                                                          default@date_dim,d2,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
-                                                                    <-Reducer 29 [SIMPLE_EDGE]
-                                                                      SHUFFLE [RS_62]
-                                                                        PartitionCols:_col4
-                                                                        Select Operator [SEL_51] (rows=843315281 width=88)
-                                                                          Output:["_col1","_col11","_col12","_col13","_col19","_col20","_col3","_col4","_col6","_col7","_col9"]
-                                                                          Merge Join Operator [MERGEJOIN_630] (rows=843315281 width=88)
-                                                                            Conds:RS_48._col3=RS_49._col0(Inner),Output:["_col1","_col2","_col4","_col5","_col7","_col9","_col10","_col11","_col17","_col18","_col20"]
-                                                                          <-Map 33 [SIMPLE_EDGE]
-                                                                            SHUFFLE [RS_49]
-                                                                              PartitionCols:_col0
-                                                                              Select Operator [SEL_38] (rows=1861800 width=385)
-                                                                                Output:["_col0","_col1"]
-                                                                                Filter Operator [FIL_596] (rows=1861800 width=385)
-                                                                                  predicate:cd_demo_sk is not null
-                                                                                  TableScan [TS_36] (rows=1861800 width=385)
-                                                                                    default@customer_demographics,cd1,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status"]
-                                                                          <-Reducer 28 [SIMPLE_EDGE]
-                                                                            SHUFFLE [RS_48]
-                                                                              PartitionCols:_col3
-                                                                              Merge Join Operator [MERGEJOIN_629] (rows=766650239 width=88)
-                                                                                Conds:RS_45._col6=RS_46._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col7","_col9","_col10","_col11","_col17","_col18"]
-                                                                              <-Map 32 [SIMPLE_EDGE]
-                                                                                SHUFFLE [RS_46]
-                                                                                  PartitionCols:_col0
-                                                                                  Select Operator [SEL_35] (rows=1704 width=1910)
-                                                                                    Output:["_col0","_col1","_col2"]
-                                                                                    Filter Operator [FIL_595] (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_33] (rows=1704 width=1910)
-                                                                                        default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_store_name","s_zip"]
-                                                                              <-Reducer 27 [SIMPLE_EDGE]
-                                                                                SHUFFLE [RS_45]
-                                                                                  PartitionCols:_col6
-                                                                                  Merge Join Operator [MERGEJOIN_628] (rows=696954748 width=88)
-                                                                                    Conds:RS_42._col0=RS_43._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col9","_col10","_col11"]
-                                                                                  <-Map 31 [SIMPLE_EDGE]
-                                                                                    SHUFFLE [RS_43]
-                                                                                      PartitionCols:_col0
-                                                                                      Select Operator [SEL_32] (rows=36524 width=1119)
-                                                                                        Output:["_col0"]
-                                                                                        Filter Operator [FIL_594] (rows=36524 width=1119)
-                                                                                          predicate:((d_year = 2000) and d_date_sk is not null)
-                                                                                          TableScan [TS_30] (rows=73049 width=1119)
-                                                                                            default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
-                                                                                  <-Reducer 26 [SIMPLE_EDGE]
-                                                                                    SHUFFLE [RS_42]
-                                                                                      PartitionCols:_col0
-                                                                                      Merge Join Operator [MERGEJOIN_627] (rows=633595212 width=88)
-                                                                                        Conds:RS_39._col1, _col8=RS_40._col0, _col1(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col9","_col10","_col11"]
-                                                                                      <-Map 25 [SIMPLE_EDGE]
-                                                                                        SHUFFLE [RS_39]
-                                                                                          PartitionCols:_col1, _col8
-                                                                                          Select Operator [SEL_26] (rows=575995635 width=88)
-                                                                                            Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11"]
-                                                                                            Filter Operator [FIL_592] (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_24] (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"]
-                                                                                      <-Map 30 [SIMPLE_EDGE]
-                                                                                        SHUFFLE [RS_40]
-                                                                                          PartitionCols:_col0, _col1
-                                                                                          Select Operator [SEL_29] (rows=57591150 width=77)
-                                                                                            Output:["_col0","_col1"]
-                                                                                            Filter Operator [FIL_593] (rows=57591150 width=77)
-                                                                                              predicate:(sr_item_sk is not null and sr_ticket_number is not null)
-                                                                                              TableScan [TS_27] (rows=57591150 width=77)
-                                                                                                default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_item_sk","sr_ticket_number"]
-                                                <-Reducer 9 [SIMPLE_EDGE]
-                                                  SHUFFLE [RS_105]
-                                                    PartitionCols:_col0
-                                                    Merge Join Operator [MERGEJOIN_623] (rows=7920 width=107)
-                                                      Conds:RS_102._col1=RS_103._col0(Inner),Output:["_col0"]
-                                                    <-Map 14 [SIMPLE_EDGE]
-                                                      SHUFFLE [RS_103]
-                                                        PartitionCols:_col0
-                                                        Select Operator [SEL_11] (rows=20 width=12)
-                                                          Output:["_col0"]
-                                                          Filter Operator [FIL_587] (rows=20 width=12)
-                                                            predicate:ib_income_band_sk is not null
-                                                            TableScan [TS_9] (rows=20 width=12)
-                                                              default@income_band,ib2,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk"]
-                                                    <-Map 8 [SIMPLE_EDGE]
-                                                      SHUFFLE [RS_102]
-                                                        PartitionCols:_col1
-                                                        Select Operator [SEL_8] (rows=7200 width=107)
-                                                          Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_586] (rows=7200 width=107)
-                                                            predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
-                                                            TableScan [TS_6] (rows=7200 width=107)
-                                                              default@household_demographics,hd2,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
-                                            <-Reducer 38 [SIMPLE_EDGE]
-                                              SHUFFLE [RS_109]
-                                                PartitionCols:_col0
-                                                Select Operator [SEL_95] (rows=52798137 width=135)
-                                                  Output:["_col0"]
-                                                  Filter Operator [FIL_94] (rows=52798137 width=135)
-                                                    predicate:(_col1 > (2 * _col2))
-                                                    Group By Operator [GBY_93] (rows=158394413 width=135)
-                                                      Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:KEY._col0
-                                                    <-Reducer 37 [SIMPLE_EDGE]
-                                                      SHUFFLE [RS_92]
-                                                        PartitionCols:_col0
-                                                        Group By Operator [GBY_91] (rows=316788826 width=135)
-                                                          Output:["_col0","_col1","_col2"],aggregations:["sum(_col1)","sum(_col2)"],keys:_col0
-                                                          Select Operator [SEL_89] (rows=316788826 width=135)
-                                                            Output:["_col0","_col1","_col2"]
-                                                            Merge Join Operator [MERGEJOIN_634] (rows=316788826 width=135)
-                                                              Conds:RS_86._col0, _col1=RS_87._col0, _col1(Inner),Output:["_col0","_col2","_col5","_col6","_col7"]
-                                                            <-Map 36 [SIMPLE_EDGE]
-                                                              SHUFFLE [RS_86]
-                                                                PartitionCols:_col0, _col1
-                                                                Select Operator [SEL_82] (rows=287989836 width=135)
-                                                                  Output:["_col0","_col1","_col2"]
-                                                                  Filter Operator [FIL_599] (rows=287989836 width=135)
-                                                                    predicate:(cs_order_number is not null and cs_item_sk is not null)
-                                                                    TableScan [TS_80] (rows=287989836 width=135)
-                                                                      default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_item_sk","cs_order_number","cs_ext_list_price"]
-                                                            <-Map 39 [SIMPLE_EDGE]
-                                                              SHUFFLE [RS_87]
-                                                                PartitionCols:_col0, _col1
-                                                                Select Operator [SEL_85] (rows=28798881 width=106)
-                                                                  Output:["_col0","_col1","_col2","_col3","_col4"]
-                                                                  Filter Operator [FIL_600] (rows=28798881 width=106)
-                                                                    predicate:(cr_order_number is not null and cr_item_sk is not null)
-                                                                    TableScan [TS_83] (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"]
-                              <-Reducer 2 [SIMPLE_EDGE]
-                                SHUFFLE [RS_121]
-                                  PartitionCols:_col0
-                                  Merge Join Operator [MERGEJOIN_622] (rows=7920 width=107)
-                                    Conds:RS_118._col1=RS_119._col0(Inner),Output:["_col0"]
-                                  <-Map 1 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_118]
-                                      PartitionCols:_col1
-                                      Select Operator [SEL_2] (rows=7200 width=107)
-                                        Output:["_col0","_col1"]
-                                        Filter Operator [FIL_584] (rows=7200 width=107)
-                                          predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
-                                          TableScan [TS_0] (rows=7200 width=107)
-                                            default@household_demographics,hd1,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
-                                  <-Map 7 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_119]
-                                      PartitionCols:_col0
-                                      Select Operator [SEL_5] (rows=20 width=12)
-                                        Output:["_col0"]
-                                        Filter Operator [FIL_585] (rows=20 width=12)
-                                          predicate:ib_income_band_sk is not null
-                                          TableScan [TS_3] (rows=20 width=12)
-                                            default@income_band,ib1,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk"]
+                                                                                    Select Operator [SEL_32] (rows=36524 width=1119)
+                                                                                      Output:["_col0"]
+                                                                                      Filter Operator [FIL_594] (rows=36524 width=1119)
+                                                                                        predicate:((d_year = 2000) and d_date_sk is not null)
+                                                                                        TableScan [TS_30] (rows=73049 width=1119)
+                                                                                          default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                                                                                <-Reducer 26 [SIMPLE_EDGE]
+                                                                                  SHUFFLE [RS_42]
+                                                                                    PartitionCols:_col0
+                                                                                    Merge Join Operator [MERGEJOIN_627] (rows=633595212 width=88)
+                                                                                      Conds:RS_39._col1, _col8=RS_40._col0, _col1(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col9","_col10","_col11"]
+                                                                                    <-Map 25 [SIMPLE_EDGE]
+                                                                                      SHUFFLE [RS_39]
+                                                                                        PartitionCols:_col1, _col8
+                                                                                        Select Operator [SEL_26] (rows=575995635 width=88)
+                                                                                          Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11"]
+                                                                                          Filter Operator [FIL_592] (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_24] (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"]
+                                                                                    <-Map 30 [SIMPLE_EDGE]
+                                                                                      SHUFFLE [RS_40]
+                                                                                        PartitionCols:_col0, _col1
+                                                                                        Select Operator [SEL_29] (rows=57591150 width=77)
+                                                                                          Output:["_col0","_col1"]
+                                                                                          Filter Operator [FIL_593] (rows=57591150 width=77)
+                                                                                            predicate:(sr_item_sk is not null and sr_ticket_number is not null)
+                                                                                            TableScan [TS_27] (rows=57591150 width=77)
+                                                                                              default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_item_sk","sr_ticket_number"]
+                                              <-Reducer 9 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_105]
+                                                  PartitionCols:_col0
+                                                  Merge Join Operator [MERGEJOIN_623] (rows=7920 width=107)
+                                                    Conds:RS_102._col1=RS_103._col0(Inner),Output:["_col0"]
+                                                  <-Map 14 [SIMPLE_EDGE]
+                                                    SHUFFLE [RS_103]
+                                                      PartitionCols:_col0
+                                                      Select Operator [SEL_11] (rows=20 width=12)
+                                                        Output:["_col0"]
+                                                        Filter Operator [FIL_587] (rows=20 width=12)
+                                                          predicate:ib_income_band_sk is not null
+                                                          TableScan [TS_9] (rows=20 width=12)
+                                                            default@income_band,ib2,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk"]
+                                                  <-Map 8 [SIMPLE_EDGE]
+                                                    SHUFFLE [RS_102]
+                                                      PartitionCols:_col1
+                                                      Select Operator [SEL_8] (rows=7200 width=107)
+                                                        Output:["_col0","_col1"]
+                                                        Filter Operator [FIL_586] (rows=7200 width=107)
+                                                          predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
+                                                          TableScan [TS_6] (rows=7200 width=107)
+                                                            default@household_demographics,hd2,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
+                                          <-Reducer 38 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_109]
+                                              PartitionCols:_col0
+                                              Select Operator [SEL_95] (rows=52798137 width=135)
+                                                Output:["_col0"]
+                                                Filter Operator [FIL_94] (rows=52798137 width=135)
+                                                  predicate:(_col1 > (2 * _col2))
+                                                  Group By Operator [GBY_93] (rows=158394413 width=135)
+                                                    Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:KEY._col0
+                                                  <-Reducer 37 [SIMPLE_EDGE]
+                                                    SHUFFLE [RS_92]
+                                                      PartitionCols:_col0
+                                                      Group By Operator [GBY_91] (rows=316788826 width=135)
+                                                        Output:["_col0","_col1","_col2"],aggregations:["sum(_col1)","sum(_col2)"],keys:_col0
+                                                        Select Operator [SEL_89] (rows=316788826 width=135)
+                                                          Output:["_col0","_col1","_col2"]
+                                                          Merge Join Operator [MERGEJOIN_634] (rows=316788826 width=135)
+                                                            Conds:RS_86._col0, _col1=RS_87._col0, _col1(Inner),Output:["_col0","_col2","_col5","_col6","_col7"]
+                                                          <-Map 36 [SIMPLE_EDGE]
+                                                            SHUFFLE [RS_86]
+                                                              PartitionCols:_col0, _col1
+                                                              Select Operator [SEL_82] (rows=287989836 width=135)
+                                                                Output:["_col0","_col1","_col2"]
+                                                                Filter Operator [FIL_599] (rows=287989836 width=135)
+                                                                  predicate:(cs_order_number is not null and cs_item_sk is not null)
+                                                                  TableScan [TS_80] (rows=287989836 width=135)
+                                                                    default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_item_sk","cs_order_number","cs_ext_list_price"]
+                                                          <-Map 39 [SIMPLE_EDGE]
+                                                            SHUFFLE [RS_87]
+                                                              PartitionCols:_col0, _col1
+                                                              Select Operator [SEL_85] (rows=28798881 width=106)
+                                                                Output:["_col0","_col1","_col2","_col3","_col4"]
+                                                                Filter Operator [FIL_600] (rows=28798881 width=106)
+                                                                  predicate:(cr_order_number is not null and cr_item_sk is not null)
+                                                                  TableScan [TS_83] (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"]
+                            <-Reducer 2 [SIMPLE_EDGE]
+                              SHUFFLE [RS_121]
+                                PartitionCols:_col0
+                                Merge Join Operator [MERGEJOIN_622] (rows=7920 width=107)
+                                  Conds:RS_118._col1=RS_119._col0(Inner),Output:["_col0"]
+                                <-Map 1 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_118]
+                                    PartitionCols:_col1
+                                    Select Operator [SEL_2] (rows=7200 width=107)
+                                      Output:["_col0","_col1"]
+                                      Filter Operator [FIL_584] (rows=7200 width=107)
+                                        predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
+                                        TableScan [TS_0] (rows=7200 width=107)
+                                          default@household_demographics,hd1,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
+                                <-Map 7 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_119]
+                                    PartitionCols:_col0
+                                    Select Operator [SEL_5] (rows=20 width=12)
+                                      Output:["_col0"]
+                                      Filter Operator [FIL_585] (rows=20 width=12)
+                                        predicate:ib_income_band_sk is not null
+                                        TableScan [TS_3] (rows=20 width=12)
+                                          default@income_band,ib1,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk"]
                 <-Reducer 45 [SIMPLE_EDGE]
                   SHUFFLE [RS_261]
                     PartitionCols:_col2, _col1, _col3
                     Select Operator [SEL_258] (rows=903860754 width=88)
-                      Output:["_col1","_col13","_col14","_col15","_col16","_col2","_col3"]
+                      Output:["_col1","_col2","_col3","_col13","_col14","_col15","_col16"]
                       Group By Operator [GBY_257] (rows=903860754 width=88)
                         Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17"],aggregations:["count(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3, KEY._col4, KEY._col5, KEY._col6, KEY._col7, KEY._col8, KEY._col9, KEY._col10, KEY._col11, KEY._col12, KEY._col13
                       <-Reducer 44 [SIMPLE_EDGE]
@@ -373,289 +371,287 @@ Stage-0
                           PartitionCols:_col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7, _col8, _col9, _col10, _col11, _col12, _col13
                           Group By Operator [GBY_255] (rows=1807721509 width=88)
                             Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17"],aggregations:["count()","sum(_col26)","sum(_col27)","sum(_col28)"],keys:_col44, _col50, _col45, _col4, _col5, _col6, _col7, _col9, _col10, _col11, _col12, _col40, _col42, _col53
-                            Select Operator [SEL_254] (rows=1807721509 width=88)
-                              Output:["_col44","_col50","_col45","_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col40","_col42","_col53","_col26","_col27","_col28"]
-                              Merge Join Operator [MERGEJOIN_657] (rows=1807721509 width=88)
-                                Conds:RS_251._col0=RS_252._col18(Inner),Output:["_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col26","_col27","_col28","_col40","_col42","_col44","_col45","_col50","_col53"]
-                              <-Reducer 43 [SIMPLE_EDGE]
-                                SHUFFLE [RS_251]
-                                  PartitionCols:_col0
-                                  Merge Join Operator [MERGEJOIN_639] (rows=7920 width=107)
-                                    Conds:RS_248._col1=RS_249._col0(Inner),Output:["_col0"]
-                                  <-Map 42 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_248]
-                                      PartitionCols:_col1
-                                      Select Operator [SEL_132] (rows=7200 width=107)
-                                        Output:["_col0","_col1"]
-                                        Filter Operator [FIL_603] (rows=7200 width=107)
-                                          predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
-                                          TableScan [TS_130] (rows=7200 width=107)
-                                            default@household_demographics,hd1,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
-                                  <-Map 46 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_249]
+                            Merge Join Operator [MERGEJOIN_657] (rows=1807721509 width=88)
+                              Conds:RS_251._col0=RS_252._col18(Inner),Output:["_col4","_col5","_col6","_col7","_col9","_col10","_col11","_col12","_col26","_col27","_col28","_col40","_col42","_col44","_col45","_col50","_col53"]
+                            <-Reducer 43 [SIMPLE_EDGE]
+                              SHUFFLE [RS_251]
+                                PartitionCols:_col0
+                                Merge Join Operator [MERGEJOIN_639] (rows=7920 width=107)
+                                  Conds:RS_248._col1=RS_249._col0(Inner),Output:["_col0"]
+                                <-Map 42 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_248]
+                                    PartitionCols:_col1
+                                    Select Operator [SEL_132] (rows=7200 width=107)
+                                      Output:["_col0","_col1"]
+                                      Filter Operator [FIL_603] (rows=7200 width=107)
+                                        predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
+                                        TableScan [TS_130] (rows=7200 width=107)
+                                          default@household_demographics,hd1,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
+                                <-Map 46 [SIMPLE_EDGE]
+                                  SHUFFLE [RS_249]
+                                    PartitionCols:_col0
+                                    Select Operator [SEL_135] (rows=20 width=12)
+                                      Output:["_col0"]
+                                      Filter Operator [FIL_604] (rows=20 width=12)
+                                        predicate:ib_income_band_sk is not null
+                                        TableScan [TS_133] (rows=20 width=12)
+                                          default@income_band,ib1,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk"]
+                            <-Reducer 52 [SIMPLE_EDGE]
+                              SHUFFLE [RS_252]
+                                PartitionCols:_col18
+                                Select Operator [SEL_247] (rows=1643383155 width=88)
+                                  Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col9","_col18","_col23","_col24","_col25","_col37","_col39","_col41","_col42","_col47","_col50"]
+                                  Merge Join Operator [MERGEJOIN_655] (rows=1643383155 width=88)
+                                    Conds:RS_244._col21=RS_245._col0(Inner),Output:["_col8","_col13","_col14","_col15","_col27","_col29","_col31","_col32","_col37","_col40","_col45","_col46","_col47","_col48","_col50","_col51","_col52","_col53"]
+                                  <-Map 80 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_245]
                                       PartitionCols:_col0
-                                      Select Operator [SEL_135] (rows=20 width=12)
-                                        Output:["_col0"]
-                                        Filter Operator [FIL_604] (rows=20 width=12)
-                                          predicate:ib_income_band_sk is not null
-                                          TableScan [TS_133] (rows=20 width=12)
-                                            default@income_band,ib1,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk"]
-                              <-Reducer 52 [SIMPLE_EDGE]
-                                SHUFFLE [RS_252]
-                                  PartitionCols:_col18
-                                  Select Operator [SEL_247] (rows=1643383155 width=88)
-                                    Output:["_col1","_col18","_col2","_col23","_col24","_col25","_col3","_col37","_col39","_col4","_col41","_col42","_col47","_col50","_col6","_col7","_col8","_col9"]
-                                    Merge Join Operator [MERGEJOIN_655] (rows=1643383155 width=88)
-                                      Conds:RS_244._col21=RS_245._col0(Inner),Output:["_col8","_col13","_col14","_col15","_col27","_col29","_col31","_col32","_col37","_col40","_col45","_col46","_col47","_col48","_col50","_col51","_col52","_col53"]
-                                    <-Map 80 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_245]
-                                        PartitionCols:_col0
-                                        Select Operator [SEL_231] (rows=40000000 width=1014)
-                                          Output:["_col0","_col1","_col2","_col3","_col4"]
-                                          Filter Operator [FIL_621] (rows=40000000 width=1014)
-                                            predicate:ca_address_sk is not null
-                                            TableScan [TS_229] (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 51 [SIMPLE_EDGE]
-                                      SHUFFLE [RS_244]
-                                        PartitionCols:_col21
-                                        Merge Join Operator [MERGEJOIN_654] (rows=1493984654 width=88)
-                                          Conds:RS_241._col9=RS_242._col0(Inner),Output:["_col8","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40","_col45","_col46","_col47","_col48"]
-                                        <-Map 79 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_242]
-                                            PartitionCols:_col0
-                                            Select Operator [SEL_228] (rows=40000000 width=1014)
-                                              Output:["_col0","_col1","_col2","_col3","_col4"]
-                                              Filter Operator [FIL_620] (rows=40000000 width=1014)
-                                                predicate:ca_address_sk is not null
-                                                TableScan [TS_226] (rows=40000000 width=1014)
-                                                  default@customer_address,ad1,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_street_number","ca_street_name","ca_city","ca_zip"]
-                                        <-Reducer 50 [SIMPLE_EDGE]
-                                          SHUFFLE [RS_241]
-                                            PartitionCols:_col9
-                                            Merge Join Operator [MERGEJOIN_653] (rows=1358167838 width=88)
-                                              Conds:RS_238._col5=RS_239._col0(Inner),Output:["_col8","_col9","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40"]
-                                            <-Reducer 49 [SIMPLE_EDGE]
-                                              SHUFFLE [RS_238]
-                                                PartitionCols:_col5
-                                                Merge Join Operator [MERGEJOIN_652] (rows=1234698008 width=88)
-                                                  Conds:RS_235._col0=RS_236._col17(Inner),Output:["_col5","_col8","_col9","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40"]
-                                                <-Reducer 48 [SIMPLE_EDGE]
-                                                  SHUFFLE [RS_235]
-                                                    PartitionCols:_col0
-                                                    Merge Join Operator [MERGEJOIN_640] (rows=7920 width=107)
-                                                      Conds:RS_232._col1=RS_233._col0(Inner),Output:["_col0"]
-                                                    <-Map 47 [SIMPLE_EDGE]
-                                                      SHUFFLE [RS_232]
-                                                        PartitionCols:_col1
-                                                        Select Operator [SEL_138] (rows=7200 width=107)
-                                                          Output:["_col0","_col1"]
-                                                          Filter Operator [FIL_605] (rows=7200 width=107)
-                                                            predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
-                                                            TableScan [TS_136] (rows=7200 width=107)
-                                                              default@household_demographics,hd2,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
-                                                    <-Map 53 [SIMPLE_EDGE]
-                                                      SHUFFLE [RS_233]
+                                      Select Operator [SEL_231] (rows=40000000 width=1014)
+                                        Output:["_col0","_col1","_col2","_col3","_col4"]
+                                        Filter Operator [FIL_621] (rows=40000000 width=1014)
+                                          predicate:ca_address_sk is not null
+                                          TableScan [TS_229] (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 51 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_244]
+                                      PartitionCols:_col21
+                                      Merge Join Operator [MERGEJOIN_654] (rows=1493984654 width=88)
+                                        Conds:RS_241._col9=RS_242._col0(Inner),Output:["_col8","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40","_col45","_col46","_col47","_col48"]
+                                      <-Map 79 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_242]
+                                          PartitionCols:_col0
+                                          Select Operator [SEL_228] (rows=40000000 width=1014)
+                                            Output:["_col0","_col1","_col2","_col3","_col4"]
+                                            Filter Operator [FIL_620] (rows=40000000 width=1014)
+                                              predicate:ca_address_sk is not null
+                                              TableScan [TS_226] (rows=40000000 width=1014)
+                                                default@customer_address,ad1,Tbl:COMPLETE,Col:NONE,Output:["ca_address_sk","ca_street_number","ca_street_name","ca_city","ca_zip"]
+                                      <-Reducer 50 [SIMPLE_EDGE]
+                                        SHUFFLE [RS_241]
+                                          PartitionCols:_col9
+                                          Merge Join Operator [MERGEJOIN_653] (rows=1358167838 width=88)
+                                            Conds:RS_238._col5=RS_239._col0(Inner),Output:["_col8","_col9","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40"]
+                                          <-Reducer 49 [SIMPLE_EDGE]
+                                            SHUFFLE [RS_238]
+                                              PartitionCols:_col5
+                                              Merge Join Operator [MERGEJOIN_652] (rows=1234698008 width=88)
+                                                Conds:RS_235._col0=RS_236._col17(Inner),Output:["_col5","_col8","_col9","_col13","_col14","_col15","_col21","_col27","_col29","_col31","_col32","_col37","_col40"]
+                                              <-Reducer 48 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_235]
+                                                  PartitionCols:_col0
+                                                  Merge Join Operator [MERGEJOIN_640] (rows=7920 width=107)
+                                                    Conds:RS_232._col1=RS_233._col0(Inner),Output:["_col0"]
+                                                  <-Map 47 [SIMPLE_EDGE]
+                                                    SHUFFLE [RS_232]
+                                                      PartitionCols:_col1
+                                                      Select Operator [SEL_138] (rows=7200 width=107)
+                                                        Output:["_col0","_col1"]
+                                                        Filter Operator [FIL_605] (rows=7200 width=107)
+                                                          predicate:(hd_demo_sk is not null and hd_income_band_sk is not null)
+                                                          TableScan [TS_136] (rows=7200 width=107)
+                                                            default@household_demographics,hd2,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_income_band_sk"]
+                                                  <-Map 53 [SIMPLE_EDGE]
+                                                    SHUFFLE [RS_233]
+                                                      PartitionCols:_col0
+                                                      Select Operator [SEL_141] (rows=20 width=12)
+                                                        Output:["_col0"]
+                                                        Filter Operator [FIL_606] (rows=20 width=12)
+                                                          predicate:ib_income_band_sk is not null
+                                                          TableScan [TS_139] (rows=20 width=12)
+                                                            default@income_band,ib2,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk"]
+                                              <-Reducer 60 [SIMPLE_EDGE]
+                                                SHUFFLE [RS_236]
+                                                  PartitionCols:_col17
+                                                  Select Operator [SEL_209] (rows=1122452711 width=88)
+                                                    Output:["_col2","_col5","_col6","_col10","_col11","_col12","_col17","_col18","_col24","_col26","_col28","_col29","_col34","_col37"]
+                                                    Merge Join Operator [MERGEJOIN_650] (rows=1122452711 width=88)
+                                                      Conds:RS_206._col7=RS_207._col0(Inner),Output:["_col1","_col4","_col5","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col33","_col36"]
+                                                    <-Map 74 [SIMPLE_EDGE]
+                                                      SHUFFLE [RS_207]
                                                         PartitionCols:_col0
-                                                        Select Operator [SEL_141] (rows=20 width=12)
+                                                        Select Operator [SEL_202] (rows=2300 width=1179)
                                                           Output:["_col0"]
-                                                          Filter Operator [FIL_606] (rows=20 width=12)
-                                                            predicate:ib_income_band_sk is not null
-                                                            TableScan [TS_139] (rows=20 width=12)
-                                                              default@income_band,ib2,Tbl:COMPLETE,Col:NONE,Output:["ib_income_band_sk"]
-                                                <-Reducer 60 [SIMPLE_EDGE]
-                                                  SHUFFLE [RS_236]
-                                                    PartitionCols:_col17
-                                                    Select Operator [SEL_209] (rows=1122452711 width=88)
-                                                      Output:["_col10","_col11","_col12","_col17","_col18","_col2","_col24","_col26","_col28","_col29","_col34","_col37","_col5","_col6"]
-                                                      Merge Join Operator [MERGEJOIN_650] (rows=1122452711 width=88)
-                                                        Conds:RS_206._col7=RS_207._col0(Inner),Output:["_col1","_col4","_col5","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col33","_col36"]
-                                                      <-Map 74 [SIMPLE_EDGE]
-                                                        SHUFFLE [RS_207]
-                                                          PartitionCols:_col0
-                                                          Select Operator [SEL_202] (rows=2300 width=1179)
-                                                            Output:["_col0"]
-                                                            Filter Operator [FIL_617] (rows=2300 width=1179)
-                                                              predicate:p_promo_sk is not null
-                                                              TableScan [TS_200] (rows=2300 width=1179)
-                                                                default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk"]
-                                                      <-Reducer 59 [SIMPLE_EDGE]
-                                                        SHUFFLE [RS_206]
-                                                          PartitionCols:_col7
-                                                          Merge Join Operator [MERGEJOIN_649] (rows=1020411534 width=88)
-                                                            Conds:RS_203._col1=RS_204._col0(Inner),Output:["_col1","_col4","_col5","_col7","_col9","_col10","_col11","_col16","_col17","_col23","_col25","_col27","_col28","_col33","_col36"]
-                                                          <-Map 73 [SIMPLE_EDGE]
-                                                            SHUFFLE [RS_204]
-                         

<TRUNCATED>