http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/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 37cebc8..912f65e 100644 --- a/ql/src/test/results/clientpositive/perf/query70.q.out +++ b/ql/src/test/results/clientpositive/perf/query70.q.out @@ -22,48 +22,48 @@ Stage-0 Stage-1 Reducer 6 File Output Operator [FS_62] - Limit [LIM_61] (rows=100 width=1119) + Limit [LIM_61] (rows=100 width=88) Number of rows:100 - Select Operator [SEL_60] (rows=66289 width=1119) + Select Operator [SEL_60] (rows=1045432122 width=88) Output:["_col0","_col1","_col2","_col3","_col4"] <-Reducer 5 [SIMPLE_EDGE] SHUFFLE [RS_59] - Select Operator [SEL_57] (rows=66289 width=1119) + Select Operator [SEL_57] (rows=1045432122 width=88) Output:["_col0","_col1","_col2","_col3","_col4"] - PTF Operator [PTF_56] (rows=66289 width=1119) + PTF Operator [PTF_56] (rows=1045432122 width=88) Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col4 ASC NULLS FIRST","partition by:":"_col5, CASE WHEN ((_col5 = 2)) THEN (_col0) ELSE (null) END"}] - Select Operator [SEL_55] (rows=66289 width=1119) + Select Operator [SEL_55] (rows=1045432122 width=88) Output:["_col0","_col1","_col4","_col5"] <-Reducer 4 [SIMPLE_EDGE] SHUFFLE [RS_54] PartitionCols:_col5, CASE WHEN ((_col5 = 2)) THEN (_col0) ELSE (null) END - Select Operator [SEL_53] (rows=66289 width=1119) + Select Operator [SEL_53] (rows=1045432122 width=88) Output:["_col0","_col1","_col4","_col5"] - Group By Operator [GBY_52] (rows=66289 width=1119) + Group By Operator [GBY_52] (rows=1045432122 width=88) Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2 <-Reducer 3 [SIMPLE_EDGE] SHUFFLE [RS_51] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_50] (rows=132579 width=1119) + Group By Operator [GBY_50] (rows=2090864244 width=88) Output:["_col0","_col1","_col2","_col3"],aggregations:["sum(_col2)"],keys:_col6, _col7, '0' - Select Operator [SEL_49] (rows=44193 width=1119) + Select Operator [SEL_49] (rows=696954748 width=88) Output:["_col6","_col7","_col2"] - Merge Join Operator [MERGEJOIN_91] (rows=44193 width=1119) + Merge Join Operator [MERGEJOIN_91] (rows=696954748 width=88) Conds:RS_46._col1=RS_47._col0(Inner),Output:["_col2","_col6","_col7"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_46] PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_87] (rows=40176 width=1119) + Merge Join Operator [MERGEJOIN_87] (rows=633595212 width=88) Conds:RS_43._col0=RS_44._col0(Inner),Output:["_col1","_col2"] <-Map 1 [SIMPLE_EDGE] SHUFFLE [RS_43] PartitionCols:_col0 - Select Operator [SEL_2] (rows=1 width=0) + Select Operator [SEL_2] (rows=575995635 width=88) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_80] (rows=1 width=0) + Filter Operator [FIL_80] (rows=575995635 width=88) predicate:(ss_sold_date_sk is not null and ss_store_sk is not null) - TableScan [TS_0] (rows=1 width=0) - default@store_sales,ss,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_store_sk","ss_net_profit"] + TableScan [TS_0] (rows=575995635 width=88) + default@store_sales,ss,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_store_sk","ss_net_profit"] <-Map 7 [SIMPLE_EDGE] SHUFFLE [RS_44] PartitionCols:_col0 @@ -76,7 +76,7 @@ Stage-0 <-Reducer 9 [SIMPLE_EDGE] SHUFFLE [RS_47] PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_90] (rows=7365 width=1119) + Merge Join Operator [MERGEJOIN_90] (rows=127775039 width=88) Conds:RS_39._col2=RS_40._col0(Left Semi),Output:["_col0","_col1","_col2"] <-Map 8 [SIMPLE_EDGE] SHUFFLE [RS_39] @@ -90,60 +90,60 @@ Stage-0 <-Reducer 14 [SIMPLE_EDGE] SHUFFLE [RS_40] PartitionCols:_col0 - Group By Operator [GBY_38] (rows=6696 width=1119) + Group By Operator [GBY_38] (rows=116159124 width=88) Output:["_col0"],keys:_col0 - Select Operator [SEL_32] (rows=6696 width=1119) + Select Operator [SEL_32] (rows=116159124 width=88) Output:["_col0"] - Filter Operator [FIL_83] (rows=6696 width=1119) + Filter Operator [FIL_83] (rows=116159124 width=88) predicate:(rank_window_0 <= 5) - PTF Operator [PTF_31] (rows=20088 width=1119) + 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=20088 width=1119) + 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=20088 width=1119) + 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=40176 width=1119) - Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col4 - Select Operator [SEL_24] (rows=40176 width=1119) - Output:["_col4","_col2"] - Merge Join Operator [MERGEJOIN_89] (rows=40176 width=1119) - Conds:RS_21._col0=RS_22._col0(Inner),Output:["_col2","_col4"] + Group By Operator [GBY_25] (rows=696954748 width=88) + Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col6 + Select Operator [SEL_24] (rows=696954748 width=88) + Output:["_col6","_col2"] + 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=36524 width=1119) - Output:["_col0"] - Filter Operator [FIL_86] (rows=36524 width=1119) - predicate:(d_month_seq BETWEEN 1193 AND 1204 and d_date_sk is not null) - TableScan [TS_15] (rows=73049 width=1119) - default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"] + Select Operator [SEL_17] (rows=1704 width=1910) + Output:["_col0","_col1"] + Filter Operator [FIL_86] (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,s,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_state"] <-Reducer 11 [SIMPLE_EDGE] SHUFFLE [RS_21] - PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_88] (rows=1874 width=1911) - Conds:RS_18._col1=RS_19._col0(Inner),Output:["_col0","_col2","_col4"] + 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:_col1 - Select Operator [SEL_11] (rows=1 width=0) + PartitionCols:_col0 + Select Operator [SEL_11] (rows=575995635 width=88) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_84] (rows=1 width=0) + Filter Operator [FIL_84] (rows=575995635 width=88) predicate:(ss_store_sk is not null and ss_sold_date_sk is not null) - TableScan [TS_9] (rows=1 width=0) - default@store_sales,ss,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_store_sk","ss_net_profit"] + TableScan [TS_9] (rows=575995635 width=88) + default@store_sales,ss,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=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_12] (rows=1704 width=1910) - default@store,s,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_state"] + Select Operator [SEL_14] (rows=36524 width=1119) + Output:["_col0"] + Filter Operator [FIL_85] (rows=36524 width=1119) + predicate:(d_month_seq BETWEEN 1193 AND 1204 and d_date_sk is not null) + TableScan [TS_12] (rows=73049 width=1119) + default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_month_seq"]
http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query71.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/query71.q.out b/ql/src/test/results/clientpositive/perf/query71.q.out index 190dc22..ec67b15 100644 --- a/ql/src/test/results/clientpositive/perf/query71.q.out +++ b/ql/src/test/results/clientpositive/perf/query71.q.out @@ -5,132 +5,134 @@ POSTHOOK: type: QUERY Plan optimized by CBO. Vertex dependency in root stage -Reducer 11 <- Map 10 (SIMPLE_EDGE), Map 12 (SIMPLE_EDGE), Union 8 (CONTAINS) -Reducer 14 <- Map 13 (SIMPLE_EDGE), Map 15 (SIMPLE_EDGE), Union 8 (CONTAINS) -Reducer 2 <- Map 1 (SIMPLE_EDGE), Union 8 (SIMPLE_EDGE) -Reducer 3 <- Map 16 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE) -Reducer 4 <- Reducer 3 (SIMPLE_EDGE) -Reducer 5 <- Reducer 4 (SIMPLE_EDGE) -Reducer 7 <- Map 6 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE), Union 8 (CONTAINS) +Reducer 10 <- Map 11 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE), Union 3 (CONTAINS) +Reducer 13 <- Map 12 (SIMPLE_EDGE), Map 14 (SIMPLE_EDGE), Union 3 (CONTAINS) +Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE), Union 3 (CONTAINS) +Reducer 4 <- Map 15 (SIMPLE_EDGE), Union 3 (SIMPLE_EDGE) +Reducer 5 <- Map 16 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE) +Reducer 6 <- Reducer 5 (SIMPLE_EDGE) +Reducer 7 <- Reducer 6 (SIMPLE_EDGE) Stage-0 Fetch Operator limit:-1 Stage-1 - Reducer 5 + Reducer 7 File Output Operator [FS_53] - Select Operator [SEL_52] (rows=139755 width=1436) + Select Operator [SEL_52] (rows=670816149 width=108) Output:["_col0","_col1","_col2","_col3","_col4"] - <-Reducer 4 [SIMPLE_EDGE] + <-Reducer 6 [SIMPLE_EDGE] SHUFFLE [RS_51] - Group By Operator [GBY_48] (rows=139755 width=1436) - Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3 - <-Reducer 3 [SIMPLE_EDGE] - SHUFFLE [RS_47] - PartitionCols:_col0, _col1, _col2, _col3 - Group By Operator [GBY_46] (rows=279510 width=1436) - Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col4)"],keys:_col1, _col2, _col8, _col9 - Select Operator [SEL_45] (rows=279510 width=1436) - Output:["_col1","_col2","_col8","_col9","_col4"] - Merge Join Operator [MERGEJOIN_87] (rows=279510 width=1436) - Conds:RS_42._col6=RS_43._col0(Inner),Output:["_col1","_col2","_col4","_col8","_col9"] - <-Map 16 [SIMPLE_EDGE] - SHUFFLE [RS_43] - PartitionCols:_col0 - Select Operator [SEL_38] (rows=86400 width=471) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_82] (rows=86400 width=471) - predicate:(((t_meal_time = 'breakfast') or (t_meal_time = 'dinner')) and t_time_sk is not null) - TableScan [TS_36] (rows=86400 width=471) - default@time_dim,time_dim,Tbl:COMPLETE,Col:NONE,Output:["t_time_sk","t_hour","t_minute","t_meal_time"] - <-Reducer 2 [SIMPLE_EDGE] - SHUFFLE [RS_42] - PartitionCols:_col6 - Merge Join Operator [MERGEJOIN_86] (rows=254100 width=1436) - Conds:RS_39._col0=Union 8._col1(Inner),Output:["_col1","_col2","_col4","_col6"] - <-Map 1 [SIMPLE_EDGE] - SHUFFLE [RS_39] - PartitionCols:_col0 - Select Operator [SEL_2] (rows=231000 width=1436) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_75] (rows=231000 width=1436) - predicate:((i_manager_id = 1) and i_item_sk is not null) - TableScan [TS_0] (rows=462000 width=1436) - default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_brand","i_manager_id"] - <-Union 8 [SIMPLE_EDGE] - <-Reducer 11 [CONTAINS] - Reduce Output Operator [RS_40] - PartitionCols:_col1 - Select Operator [SEL_22] (rows=20088 width=1119) + Select Operator [SEL_49] (rows=670816149 width=108) + Output:["_col0","_col1","_col2","_col3","_col4"] + Group By Operator [GBY_48] (rows=670816149 width=108) + Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3 + <-Reducer 5 [SIMPLE_EDGE] + SHUFFLE [RS_47] + PartitionCols:_col0, _col1, _col2, _col3 + Group By Operator [GBY_46] (rows=1341632299 width=108) + Output:["_col0","_col1","_col2","_col3","_col4"],aggregations:["sum(_col0)"],keys:_col8, _col9, _col4, _col5 + Select Operator [SEL_45] (rows=1341632299 width=108) + Output:["_col8","_col9","_col4","_col5","_col0"] + Merge Join Operator [MERGEJOIN_87] (rows=1341632299 width=108) + Conds:RS_42._col2=RS_43._col0(Inner),Output:["_col0","_col4","_col5","_col8","_col9"] + <-Map 16 [SIMPLE_EDGE] + SHUFFLE [RS_43] + PartitionCols:_col0 + Select Operator [SEL_38] (rows=86400 width=471) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_82] (rows=86400 width=471) + predicate:(((t_meal_time = 'breakfast') or (t_meal_time = 'dinner')) and t_time_sk is not null) + TableScan [TS_36] (rows=86400 width=471) + default@time_dim,time_dim,Tbl:COMPLETE,Col:NONE,Output:["t_time_sk","t_hour","t_minute","t_meal_time"] + <-Reducer 4 [SIMPLE_EDGE] + SHUFFLE [RS_42] + PartitionCols:_col2 + Merge Join Operator [MERGEJOIN_86] (rows=1219665700 width=108) + Conds:Union 3._col1=RS_40._col0(Inner),Output:["_col0","_col2","_col4","_col5"] + <-Map 15 [SIMPLE_EDGE] + SHUFFLE [RS_40] + PartitionCols:_col0 + Select Operator [SEL_35] (rows=231000 width=1436) Output:["_col0","_col1","_col2"] - Merge Join Operator [MERGEJOIN_84] (rows=20088 width=1119) - Conds:RS_19._col0=RS_20._col0(Inner),Output:["_col1","_col2","_col3"] - <-Map 10 [SIMPLE_EDGE] - SHUFFLE [RS_19] - PartitionCols:_col0 - Select Operator [SEL_15] (rows=1 width=0) - Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_78] (rows=1 width=0) - predicate:(cs_sold_date_sk is not null and cs_item_sk is not null and cs_sold_time_sk is not null) - TableScan [TS_13] (rows=1 width=0) - default@catalog_sales,catalog_sales,Tbl:PARTIAL,Col:NONE,Output:["cs_sold_date_sk","cs_sold_time_sk","cs_item_sk","cs_ext_sales_price"] - <-Map 12 [SIMPLE_EDGE] - SHUFFLE [RS_20] - PartitionCols:_col0 - Select Operator [SEL_18] (rows=18262 width=1119) - Output:["_col0"] - Filter Operator [FIL_79] (rows=18262 width=1119) - predicate:((d_moy = 12) and (d_year = 2001) and d_date_sk is not null) - TableScan [TS_16] (rows=73049 width=1119) - default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"] - <-Reducer 14 [CONTAINS] - Reduce Output Operator [RS_40] - PartitionCols:_col1 - Select Operator [SEL_34] (rows=20088 width=1119) - Output:["_col0","_col1","_col2"] - Merge Join Operator [MERGEJOIN_85] (rows=20088 width=1119) - Conds:RS_31._col0=RS_32._col0(Inner),Output:["_col1","_col2","_col3"] - <-Map 13 [SIMPLE_EDGE] - SHUFFLE [RS_31] - PartitionCols:_col0 - Select Operator [SEL_27] (rows=1 width=0) - Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_80] (rows=1 width=0) - predicate:(ss_sold_date_sk is not null and ss_item_sk is not null and ss_sold_time_sk is not null) - TableScan [TS_25] (rows=1 width=0) - default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_sold_time_sk","ss_item_sk","ss_ext_sales_price"] - <-Map 15 [SIMPLE_EDGE] - SHUFFLE [RS_32] - PartitionCols:_col0 - Select Operator [SEL_30] (rows=18262 width=1119) - Output:["_col0"] - Filter Operator [FIL_81] (rows=18262 width=1119) - predicate:((d_moy = 12) and (d_year = 2001) and d_date_sk is not null) - TableScan [TS_28] (rows=73049 width=1119) - default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"] - <-Reducer 7 [CONTAINS] - Reduce Output Operator [RS_40] - PartitionCols:_col1 - Select Operator [SEL_12] (rows=20088 width=1119) - Output:["_col0","_col1","_col2"] - Merge Join Operator [MERGEJOIN_83] (rows=20088 width=1119) - Conds:RS_9._col0=RS_10._col0(Inner),Output:["_col1","_col2","_col3"] - <-Map 6 [SIMPLE_EDGE] - SHUFFLE [RS_9] - PartitionCols:_col0 - Select Operator [SEL_5] (rows=1 width=0) - Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_76] (rows=1 width=0) - predicate:(ws_sold_date_sk is not null and ws_item_sk is not null and ws_sold_time_sk is not null) - TableScan [TS_3] (rows=1 width=0) - default@web_sales,web_sales,Tbl:PARTIAL,Col:NONE,Output:["ws_sold_date_sk","ws_sold_time_sk","ws_item_sk","ws_ext_sales_price"] - <-Map 9 [SIMPLE_EDGE] - SHUFFLE [RS_10] - PartitionCols:_col0 - Select Operator [SEL_8] (rows=18262 width=1119) - Output:["_col0"] - Filter Operator [FIL_77] (rows=18262 width=1119) - predicate:((d_moy = 12) and (d_year = 2001) and d_date_sk is not null) - TableScan [TS_6] (rows=73049 width=1119) - default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"] + Filter Operator [FIL_81] (rows=231000 width=1436) + predicate:((i_manager_id = 1) and i_item_sk is not null) + TableScan [TS_33] (rows=462000 width=1436) + default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_brand_id","i_brand","i_manager_id"] + <-Union 3 [SIMPLE_EDGE] + <-Reducer 10 [CONTAINS] + Reduce Output Operator [RS_39] + PartitionCols:_col1 + Select Operator [SEL_19] (rows=316788826 width=135) + Output:["_col0","_col1","_col2"] + Merge Join Operator [MERGEJOIN_84] (rows=316788826 width=135) + Conds:RS_16._col0=RS_17._col0(Inner),Output:["_col1","_col2","_col3"] + <-Map 11 [SIMPLE_EDGE] + SHUFFLE [RS_17] + PartitionCols:_col0 + Select Operator [SEL_15] (rows=18262 width=1119) + Output:["_col0"] + Filter Operator [FIL_78] (rows=18262 width=1119) + predicate:((d_moy = 12) and (d_year = 2001) and d_date_sk is not null) + TableScan [TS_13] (rows=73049 width=1119) + default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"] + <-Map 9 [SIMPLE_EDGE] + SHUFFLE [RS_16] + PartitionCols:_col0 + Select Operator [SEL_12] (rows=287989836 width=135) + Output:["_col0","_col1","_col2","_col3"] + Filter Operator [FIL_77] (rows=287989836 width=135) + predicate:(cs_sold_date_sk is not null and cs_item_sk is not null and cs_sold_time_sk is not null) + TableScan [TS_10] (rows=287989836 width=135) + default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_sold_time_sk","cs_item_sk","cs_ext_sales_price"] + <-Reducer 13 [CONTAINS] + Reduce Output Operator [RS_39] + PartitionCols:_col1 + Select Operator [SEL_31] (rows=633595212 width=88) + Output:["_col0","_col1","_col2"] + Merge Join Operator [MERGEJOIN_85] (rows=633595212 width=88) + Conds:RS_28._col0=RS_29._col0(Inner),Output:["_col1","_col2","_col3"] + <-Map 12 [SIMPLE_EDGE] + SHUFFLE [RS_28] + PartitionCols:_col0 + Select Operator [SEL_24] (rows=575995635 width=88) + Output:["_col0","_col1","_col2","_col3"] + Filter Operator [FIL_79] (rows=575995635 width=88) + predicate:(ss_sold_date_sk is not null and ss_item_sk is not null and ss_sold_time_sk is not null) + TableScan [TS_22] (rows=575995635 width=88) + default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_sold_time_sk","ss_item_sk","ss_ext_sales_price"] + <-Map 14 [SIMPLE_EDGE] + SHUFFLE [RS_29] + PartitionCols:_col0 + Select Operator [SEL_27] (rows=18262 width=1119) + Output:["_col0"] + Filter Operator [FIL_80] (rows=18262 width=1119) + predicate:((d_moy = 12) and (d_year = 2001) and d_date_sk is not null) + TableScan [TS_25] (rows=73049 width=1119) + default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"] + <-Reducer 2 [CONTAINS] + Reduce Output Operator [RS_39] + PartitionCols:_col1 + Select Operator [SEL_9] (rows=158402938 width=135) + Output:["_col0","_col1","_col2"] + Merge Join Operator [MERGEJOIN_83] (rows=158402938 width=135) + 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=144002668 width=135) + Output:["_col0","_col1","_col2","_col3"] + Filter Operator [FIL_75] (rows=144002668 width=135) + predicate:(ws_sold_date_sk is not null and ws_item_sk is not null and ws_sold_time_sk is not null) + TableScan [TS_0] (rows=144002668 width=135) + default@web_sales,web_sales,Tbl:COMPLETE,Col:NONE,Output:["ws_sold_date_sk","ws_sold_time_sk","ws_item_sk","ws_ext_sales_price"] + <-Map 8 [SIMPLE_EDGE] + SHUFFLE [RS_7] + PartitionCols:_col0 + Select Operator [SEL_5] (rows=18262 width=1119) + Output:["_col0"] + Filter Operator [FIL_76] (rows=18262 width=1119) + predicate:((d_moy = 12) and (d_year = 2001) and d_date_sk is not null) + TableScan [TS_3] (rows=73049 width=1119) + default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_moy"] http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query72.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/query72.q.out b/ql/src/test/results/clientpositive/perf/query72.q.out index 5c35a17..8bf7838 100644 --- a/ql/src/test/results/clientpositive/perf/query72.q.out +++ b/ql/src/test/results/clientpositive/perf/query72.q.out @@ -23,172 +23,174 @@ Stage-0 limit:100 Stage-1 Reducer 13 - File Output Operator [FS_75] - Limit [LIM_74] (rows=100 width=1436) + File Output Operator [FS_76] + Limit [LIM_75] (rows=100 width=135) Number of rows:100 - Select Operator [SEL_73] (rows=165056 width=1436) + Select Operator [SEL_74] (rows=41498422 width=135) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] <-Reducer 12 [SIMPLE_EDGE] - SHUFFLE [RS_72] - Group By Operator [GBY_70] (rows=165056 width=1436) + SHUFFLE [RS_73] + Group By Operator [GBY_71] (rows=41498422 width=135) Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(VALUE._col0)","count(VALUE._col1)","count(VALUE._col2)"],keys:KEY._col0, KEY._col1, KEY._col2 <-Reducer 11 [SIMPLE_EDGE] - SHUFFLE [RS_69] + SHUFFLE [RS_70] PartitionCols:_col0, _col1, _col2 - Group By Operator [GBY_68] (rows=330112 width=1436) + Group By Operator [GBY_69] (rows=82996844 width=135) Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["count(_col3)","count(_col4)","count()"],keys:_col0, _col1, _col2 - Select Operator [SEL_66] (rows=330112 width=1436) + Select Operator [SEL_67] (rows=82996844 width=135) Output:["_col0","_col1","_col2","_col3","_col4"] - Merge Join Operator [MERGEJOIN_142] (rows=330112 width=1436) - Conds:RS_63._col4, _col6=RS_64._col0, _col1(Left Outer),Output:["_col13","_col15","_col22","_col28"] + Merge Join Operator [MERGEJOIN_143] (rows=82996844 width=135) + Conds:RS_64._col4, _col6=RS_65._col0, _col1(Left Outer),Output:["_col13","_col15","_col22","_col28"] <-Map 23 [SIMPLE_EDGE] - SHUFFLE [RS_64] + SHUFFLE [RS_65] PartitionCols:_col0, _col1 - Select Operator [SEL_59] (rows=1 width=0) + Select Operator [SEL_60] (rows=28798881 width=106) Output:["_col0","_col1"] - Filter Operator [FIL_132] (rows=1 width=0) + Filter Operator [FIL_133] (rows=28798881 width=106) predicate:cr_item_sk is not null - TableScan [TS_57] (rows=1 width=0) - default@catalog_returns,catalog_returns,Tbl:PARTIAL,Col:NONE,Output:["cr_item_sk","cr_order_number"] + TableScan [TS_58] (rows=28798881 width=106) + default@catalog_returns,catalog_returns,Tbl:COMPLETE,Col:NONE,Output:["cr_item_sk","cr_order_number"] <-Reducer 10 [SIMPLE_EDGE] - SHUFFLE [RS_63] + SHUFFLE [RS_64] PartitionCols:_col4, _col6 - Merge Join Operator [MERGEJOIN_141] (rows=300102 width=1436) - Conds:RS_60._col5=RS_61._col0(Left Outer),Output:["_col4","_col6","_col13","_col15","_col22","_col28"] + Merge Join Operator [MERGEJOIN_142] (rows=75451675 width=135) + Conds:RS_61._col5=RS_62._col0(Left Outer),Output:["_col4","_col6","_col13","_col15","_col22","_col28"] <-Map 22 [SIMPLE_EDGE] - SHUFFLE [RS_61] + SHUFFLE [RS_62] PartitionCols:_col0 - Select Operator [SEL_56] (rows=2300 width=1179) + Select Operator [SEL_57] (rows=2300 width=1179) Output:["_col0"] - TableScan [TS_55] (rows=2300 width=1179) + TableScan [TS_56] (rows=2300 width=1179) default@promotion,promotion,Tbl:COMPLETE,Col:NONE,Output:["p_promo_sk"] <-Reducer 9 [SIMPLE_EDGE] - SHUFFLE [RS_60] + SHUFFLE [RS_61] PartitionCols:_col5 - Select Operator [SEL_54] (rows=272820 width=1436) + Select Operator [SEL_55] (rows=68592431 width=135) Output:["_col13","_col15","_col22","_col4","_col5","_col6"] - Filter Operator [FIL_53] (rows=272820 width=1436) + Filter Operator [FIL_54] (rows=68592431 width=135) predicate:(UDFToDouble(_col27) > (UDFToDouble(_col21) + 5.0)) - Merge Join Operator [MERGEJOIN_140] (rows=818460 width=1436) - Conds:RS_50._col1=RS_51._col0(Inner),Output:["_col4","_col5","_col6","_col13","_col15","_col21","_col22","_col27"] - <-Map 21 [SIMPLE_EDGE] - SHUFFLE [RS_51] - PartitionCols:_col0 - Select Operator [SEL_31] (rows=73049 width=1119) - Output:["_col0","_col1"] - Filter Operator [FIL_130] (rows=73049 width=1119) - predicate:d_date_sk is not null - TableScan [TS_29] (rows=73049 width=1119) - default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date"] - <-Reducer 8 [SIMPLE_EDGE] - SHUFFLE [RS_50] - PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_139] (rows=744055 width=1436) - Conds:RS_47._col8, _col22=RS_48._col0, _col1(Inner),Output:["_col1","_col4","_col5","_col6","_col13","_col15","_col21","_col22"] - <-Map 20 [SIMPLE_EDGE] - SHUFFLE [RS_48] - PartitionCols:_col0, _col1 - Select Operator [SEL_28] (rows=73049 width=1119) - Output:["_col0","_col1"] - Filter Operator [FIL_129] (rows=73049 width=1119) - predicate:(d_date_sk is not null and d_week_seq is not null) - TableScan [TS_26] (rows=73049 width=1119) - default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_week_seq"] - <-Reducer 7 [SIMPLE_EDGE] - SHUFFLE [RS_47] - PartitionCols:_col8, _col22 - Merge Join Operator [MERGEJOIN_138] (rows=676414 width=1436) - Conds:RS_44._col0=RS_45._col0(Inner),Output:["_col1","_col4","_col5","_col6","_col8","_col13","_col15","_col21","_col22"] - <-Map 19 [SIMPLE_EDGE] - SHUFFLE [RS_45] - PartitionCols:_col0 - Select Operator [SEL_25] (rows=36524 width=1119) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_128] (rows=36524 width=1119) - predicate:((d_year = 2001) and d_date_sk is not null and d_week_seq is not null) - TableScan [TS_23] (rows=73049 width=1119) - default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date","d_week_seq","d_year"] - <-Reducer 6 [SIMPLE_EDGE] - SHUFFLE [RS_44] - PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_137] (rows=614922 width=1436) - Conds:RS_41._col3=RS_42._col0(Inner),Output:["_col0","_col1","_col4","_col5","_col6","_col8","_col13","_col15"] - <-Map 18 [SIMPLE_EDGE] - SHUFFLE [RS_42] - PartitionCols:_col0 - Select Operator [SEL_22] (rows=3600 width=107) - Output:["_col0"] - Filter Operator [FIL_127] (rows=3600 width=107) - predicate:((hd_buy_potential = '1001-5000') and hd_demo_sk is not null) - TableScan [TS_20] (rows=7200 width=107) - default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_buy_potential"] - <-Reducer 5 [SIMPLE_EDGE] - SHUFFLE [RS_41] - PartitionCols:_col3 - Merge Join Operator [MERGEJOIN_136] (rows=559020 width=1436) - Conds:RS_38._col2=RS_39._col0(Inner),Output:["_col0","_col1","_col3","_col4","_col5","_col6","_col8","_col13","_col15"] - <-Map 17 [SIMPLE_EDGE] - SHUFFLE [RS_39] - PartitionCols:_col0 - Select Operator [SEL_19] (rows=9900 width=362) - Output:["_col0"] - Filter Operator [FIL_126] (rows=9900 width=362) - predicate:((cd_marital_status = 'M') and cd_demo_sk is not null) - TableScan [TS_17] (rows=19800 width=362) - default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status"] - <-Reducer 4 [SIMPLE_EDGE] - SHUFFLE [RS_38] - PartitionCols:_col2 - Merge Join Operator [MERGEJOIN_135] (rows=508200 width=1436) - Conds:RS_35._col4=RS_36._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col8","_col13","_col15"] - <-Map 16 [SIMPLE_EDGE] - SHUFFLE [RS_36] - PartitionCols:_col0 - Select Operator [SEL_16] (rows=462000 width=1436) - Output:["_col0","_col1"] - Filter Operator [FIL_125] (rows=462000 width=1436) - predicate:i_item_sk is not null - TableScan [TS_14] (rows=462000 width=1436) - default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_desc"] - <-Reducer 3 [SIMPLE_EDGE] - SHUFFLE [RS_35] - PartitionCols:_col4 - Merge Join Operator [MERGEJOIN_134] (rows=29 width=1054) - Conds:RS_32._col10=RS_33._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col8","_col13"] - <-Map 15 [SIMPLE_EDGE] - SHUFFLE [RS_33] - PartitionCols:_col0 - Select Operator [SEL_13] (rows=27 width=1029) - Output:["_col0","_col1"] - Filter Operator [FIL_124] (rows=27 width=1029) - predicate:w_warehouse_sk is not null - TableScan [TS_11] (rows=27 width=1029) - default@warehouse,warehouse,Tbl:COMPLETE,Col:NONE,Output:["w_warehouse_sk","w_warehouse_name"] - <-Reducer 2 [SIMPLE_EDGE] - SHUFFLE [RS_32] - PartitionCols:_col10 - Select Operator [SEL_10] (rows=1 width=0) - Output:["_col0","_col1","_col10","_col2","_col3","_col4","_col5","_col6","_col8"] - Filter Operator [FIL_9] (rows=1 width=0) - predicate:(_col11 < _col7) - Merge Join Operator [MERGEJOIN_133] (rows=1 width=0) - Conds:RS_6._col4=RS_7._col1(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col10","_col11"] - <-Map 1 [SIMPLE_EDGE] - SHUFFLE [RS_6] - PartitionCols:_col4 - Select Operator [SEL_2] (rows=1 width=0) - Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] - Filter Operator [FIL_122] (rows=1 width=0) - predicate:(cs_item_sk is not null and cs_bill_cdemo_sk is not null and cs_bill_hdemo_sk is not null and cs_sold_date_sk is not null and cs_ship_date_sk is not null) - TableScan [TS_0] (rows=1 width=0) - default@catalog_sales,catalog_sales,Tbl:PARTIAL,Col:NONE,Output:["cs_sold_date_sk","cs_ship_date_sk","cs_bill_cdemo_sk","cs_bill_hdemo_sk","cs_item_sk","cs_promo_sk","cs_order_number","cs_quantity"] - <-Map 14 [SIMPLE_EDGE] - SHUFFLE [RS_7] - PartitionCols:_col1 - Select Operator [SEL_5] (rows=1 width=0) - Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_123] (rows=1 width=0) - predicate:(inv_item_sk is not null and inv_warehouse_sk is not null and inv_date_sk is not null) - TableScan [TS_3] (rows=1 width=0) - default@inventory,inventory,Tbl:PARTIAL,Col:NONE,Output:["inv_date_sk","inv_item_sk","inv_warehouse_sk","inv_quantity_on_hand"] + Select Operator [SEL_53] (rows=205777294 width=135) + Output:["_col4","_col5","_col6","_col13","_col15","_col21","_col22","_col27"] + Merge Join Operator [MERGEJOIN_141] (rows=205777294 width=135) + Conds:RS_50._col2=RS_51._col0(Inner),Output:["_col4","_col5","_col6","_col13","_col14","_col21","_col23","_col25"] + <-Map 21 [SIMPLE_EDGE] + SHUFFLE [RS_51] + PartitionCols:_col0 + Select Operator [SEL_31] (rows=32306 width=5) + Output:["_col0"] + Filter Operator [FIL_131] (rows=32306 width=5) + predicate:((cd_marital_status = 'M') and cd_demo_sk is not null) + TableScan [TS_29] (rows=64612 width=5) + default@customer_demographics,customer_demographics,Tbl:COMPLETE,Col:NONE,Output:["cd_demo_sk","cd_marital_status"] + <-Reducer 8 [SIMPLE_EDGE] + SHUFFLE [RS_50] + PartitionCols:_col2 + Merge Join Operator [MERGEJOIN_140] (rows=187070264 width=135) + Conds:RS_47._col10=RS_48._col0(Inner),Output:["_col2","_col4","_col5","_col6","_col13","_col14","_col21","_col23","_col25"] + <-Map 20 [SIMPLE_EDGE] + SHUFFLE [RS_48] + PartitionCols:_col0 + Select Operator [SEL_28] (rows=27 width=1029) + Output:["_col0","_col1"] + Filter Operator [FIL_130] (rows=27 width=1029) + predicate:w_warehouse_sk is not null + TableScan [TS_26] (rows=27 width=1029) + default@warehouse,warehouse,Tbl:COMPLETE,Col:NONE,Output:["w_warehouse_sk","w_warehouse_name"] + <-Reducer 7 [SIMPLE_EDGE] + SHUFFLE [RS_47] + PartitionCols:_col10 + Merge Join Operator [MERGEJOIN_139] (rows=170063873 width=135) + Conds:RS_44._col1=RS_45._col0(Inner),Output:["_col2","_col4","_col5","_col6","_col10","_col13","_col14","_col21","_col23"] + <-Map 19 [SIMPLE_EDGE] + SHUFFLE [RS_45] + PartitionCols:_col0 + Select Operator [SEL_25] (rows=73049 width=1119) + Output:["_col0","_col1"] + Filter Operator [FIL_129] (rows=73049 width=1119) + predicate:d_date_sk is not null + TableScan [TS_23] (rows=73049 width=1119) + default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date"] + <-Reducer 6 [SIMPLE_EDGE] + SHUFFLE [RS_44] + PartitionCols:_col1 + Merge Join Operator [MERGEJOIN_138] (rows=154603518 width=135) + Conds:RS_41._col4=RS_42._col0(Inner),Output:["_col1","_col2","_col4","_col5","_col6","_col10","_col13","_col14","_col21"] + <-Map 18 [SIMPLE_EDGE] + SHUFFLE [RS_42] + PartitionCols:_col0 + Select Operator [SEL_22] (rows=462000 width=1436) + Output:["_col0","_col1"] + Filter Operator [FIL_128] (rows=462000 width=1436) + predicate:i_item_sk is not null + TableScan [TS_20] (rows=462000 width=1436) + default@item,item,Tbl:COMPLETE,Col:NONE,Output:["i_item_sk","i_item_desc"] + <-Reducer 5 [SIMPLE_EDGE] + SHUFFLE [RS_41] + PartitionCols:_col4 + Merge Join Operator [MERGEJOIN_137] (rows=140548650 width=135) + Conds:RS_38._col3=RS_39._col0(Inner),Output:["_col1","_col2","_col4","_col5","_col6","_col10","_col13","_col14"] + <-Map 17 [SIMPLE_EDGE] + SHUFFLE [RS_39] + PartitionCols:_col0 + Select Operator [SEL_19] (rows=3600 width=107) + Output:["_col0"] + Filter Operator [FIL_127] (rows=3600 width=107) + predicate:((hd_buy_potential = '1001-5000') and hd_demo_sk is not null) + TableScan [TS_17] (rows=7200 width=107) + default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_buy_potential"] + <-Reducer 4 [SIMPLE_EDGE] + SHUFFLE [RS_38] + PartitionCols:_col3 + Merge Join Operator [MERGEJOIN_136] (rows=127771498 width=135) + Conds:RS_35._col8, _col14=RS_36._col0, _col1(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col10","_col13","_col14"] + <-Map 16 [SIMPLE_EDGE] + SHUFFLE [RS_36] + PartitionCols:_col0, _col1 + Select Operator [SEL_16] (rows=73049 width=1119) + Output:["_col0","_col1"] + Filter Operator [FIL_126] (rows=73049 width=1119) + predicate:(d_date_sk is not null and d_week_seq is not null) + TableScan [TS_14] (rows=73049 width=1119) + default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_week_seq"] + <-Reducer 3 [SIMPLE_EDGE] + SHUFFLE [RS_35] + PartitionCols:_col8, _col14 + Merge Join Operator [MERGEJOIN_135] (rows=116155905 width=135) + Conds:RS_32._col0=RS_33._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col8","_col10","_col13","_col14"] + <-Map 15 [SIMPLE_EDGE] + SHUFFLE [RS_33] + PartitionCols:_col0 + Select Operator [SEL_13] (rows=36524 width=1119) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_125] (rows=36524 width=1119) + predicate:((d_year = 2001) and d_date_sk is not null and d_week_seq is not null) + TableScan [TS_11] (rows=73049 width=1119) + default@date_dim,d1,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_date","d_week_seq","d_year"] + <-Reducer 2 [SIMPLE_EDGE] + SHUFFLE [RS_32] + PartitionCols:_col0 + Select Operator [SEL_10] (rows=105596275 width=135) + Output:["_col0","_col1","_col10","_col2","_col3","_col4","_col5","_col6","_col8"] + Filter Operator [FIL_9] (rows=105596275 width=135) + predicate:(_col11 < _col7) + Merge Join Operator [MERGEJOIN_134] (rows=316788826 width=135) + Conds:RS_6._col4=RS_7._col1(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col10","_col11"] + <-Map 1 [SIMPLE_EDGE] + SHUFFLE [RS_6] + PartitionCols:_col4 + Select Operator [SEL_2] (rows=287989836 width=135) + Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] + Filter Operator [FIL_123] (rows=287989836 width=135) + predicate:(cs_item_sk is not null and cs_bill_cdemo_sk is not null and cs_bill_hdemo_sk is not null and cs_sold_date_sk is not null and cs_ship_date_sk is not null) + TableScan [TS_0] (rows=287989836 width=135) + default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:NONE,Output:["cs_sold_date_sk","cs_ship_date_sk","cs_bill_cdemo_sk","cs_bill_hdemo_sk","cs_item_sk","cs_promo_sk","cs_order_number","cs_quantity"] + <-Map 14 [SIMPLE_EDGE] + SHUFFLE [RS_7] + PartitionCols:_col1 + Select Operator [SEL_5] (rows=37584000 width=15) + Output:["_col0","_col1","_col2","_col3"] + Filter Operator [FIL_124] (rows=37584000 width=15) + predicate:(inv_item_sk is not null and inv_warehouse_sk is not null and inv_date_sk is not null) + TableScan [TS_3] (rows=37584000 width=15) + default@inventory,inventory,Tbl:COMPLETE,Col:NONE,Output:["inv_date_sk","inv_item_sk","inv_warehouse_sk","inv_quantity_on_hand"] http://git-wip-us.apache.org/repos/asf/hive/blob/db8a6db9/ql/src/test/results/clientpositive/perf/query73.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/query73.q.out b/ql/src/test/results/clientpositive/perf/query73.q.out index cb22c8a..00223c0 100644 --- a/ql/src/test/results/clientpositive/perf/query73.q.out +++ b/ql/src/test/results/clientpositive/perf/query73.q.out @@ -5,96 +5,96 @@ POSTHOOK: type: QUERY Plan optimized by CBO. Vertex dependency in root stage -Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE) -Reducer 3 <- Map 9 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE) -Reducer 4 <- Map 10 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE) -Reducer 5 <- Reducer 4 (SIMPLE_EDGE) -Reducer 6 <- Map 11 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE) -Reducer 7 <- Reducer 6 (SIMPLE_EDGE) +Reducer 2 <- Map 1 (SIMPLE_EDGE), Reducer 8 (SIMPLE_EDGE) +Reducer 3 <- Reducer 2 (SIMPLE_EDGE) +Reducer 5 <- Map 4 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE) +Reducer 6 <- Map 10 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE) +Reducer 7 <- Map 11 (SIMPLE_EDGE), Reducer 6 (SIMPLE_EDGE) +Reducer 8 <- Reducer 7 (SIMPLE_EDGE) Stage-0 Fetch Operator limit:-1 Stage-1 - Reducer 7 + Reducer 3 File Output Operator [FS_37] - Select Operator [SEL_36] (rows=88000001 width=860) + Select Operator [SEL_36] (rows=210828819 width=88) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - <-Reducer 6 [SIMPLE_EDGE] + <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_35] - Select Operator [SEL_34] (rows=88000001 width=860) + Select Operator [SEL_34] (rows=210828819 width=88) Output:["_col0","_col1","_col2","_col3","_col4","_col5"] - Merge Join Operator [MERGEJOIN_60] (rows=88000001 width=860) - Conds:RS_31._col1=RS_32._col0(Inner),Output:["_col0","_col2","_col4","_col5","_col6","_col7"] - <-Map 11 [SIMPLE_EDGE] - SHUFFLE [RS_32] + Merge Join Operator [MERGEJOIN_60] (rows=210828819 width=88) + Conds:RS_31._col0=RS_32._col1(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col7"] + <-Map 1 [SIMPLE_EDGE] + SHUFFLE [RS_31] PartitionCols:_col0 - Select Operator [SEL_30] (rows=80000000 width=860) + Select Operator [SEL_2] (rows=80000000 width=860) Output:["_col0","_col1","_col2","_col3","_col4"] - Filter Operator [FIL_56] (rows=80000000 width=860) + Filter Operator [FIL_52] (rows=80000000 width=860) predicate:c_customer_sk is not null - TableScan [TS_28] (rows=80000000 width=860) + TableScan [TS_0] (rows=80000000 width=860) default@customer,customer,Tbl:COMPLETE,Col:NONE,Output:["c_customer_sk","c_salutation","c_first_name","c_last_name","c_preferred_cust_flag"] - <-Reducer 5 [SIMPLE_EDGE] - SHUFFLE [RS_31] + <-Reducer 8 [SIMPLE_EDGE] + SHUFFLE [RS_32] PartitionCols:_col1 - Filter Operator [FIL_26] (rows=6076 width=1119) + Filter Operator [FIL_29] (rows=191662559 width=88) predicate:_col2 BETWEEN 1 AND 5 - Select Operator [SEL_25] (rows=12152 width=1119) + Select Operator [SEL_28] (rows=383325119 width=88) Output:["_col0","_col1","_col2"] - Group By Operator [GBY_24] (rows=12152 width=1119) + Group By Operator [GBY_27] (rows=383325119 width=88) Output:["_col0","_col1","_col2"],aggregations:["count(VALUE._col0)"],keys:KEY._col0, KEY._col1 - <-Reducer 4 [SIMPLE_EDGE] - SHUFFLE [RS_23] + <-Reducer 7 [SIMPLE_EDGE] + SHUFFLE [RS_26] PartitionCols:_col0, _col1 - Group By Operator [GBY_22] (rows=24305 width=1119) + Group By Operator [GBY_25] (rows=766650239 width=88) Output:["_col0","_col1","_col2"],aggregations:["count()"],keys:_col1, _col4 - Merge Join Operator [MERGEJOIN_59] (rows=24305 width=1119) - Conds:RS_18._col2=RS_19._col0(Inner),Output:["_col1","_col4"] - <-Map 10 [SIMPLE_EDGE] - SHUFFLE [RS_19] + Merge Join Operator [MERGEJOIN_59] (rows=766650239 width=88) + Conds:RS_21._col3=RS_22._col0(Inner),Output:["_col1","_col4"] + <-Map 11 [SIMPLE_EDGE] + SHUFFLE [RS_22] PartitionCols:_col0 - Select Operator [SEL_11] (rows=1200 width=107) + Select Operator [SEL_14] (rows=852 width=1910) Output:["_col0"] - Filter Operator [FIL_55] (rows=1200 width=107) - predicate:(((hd_buy_potential = '1001-5000') or (hd_buy_potential = '5001-10000')) and (hd_vehicle_count > 0) and CASE WHEN ((hd_vehicle_count > 0)) THEN (((UDFToDouble(hd_dep_count) / UDFToDouble(hd_vehicle_count)) > 1.0)) ELSE (null) END and hd_demo_sk is not null) - TableScan [TS_9] (rows=7200 width=107) - default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_buy_potential","hd_dep_count","hd_vehicle_count"] - <-Reducer 3 [SIMPLE_EDGE] - SHUFFLE [RS_18] - PartitionCols:_col2 - Merge Join Operator [MERGEJOIN_58] (rows=22096 width=1119) - Conds:RS_15._col3=RS_16._col0(Inner),Output:["_col1","_col2","_col4"] - <-Map 9 [SIMPLE_EDGE] - SHUFFLE [RS_16] + Filter Operator [FIL_56] (rows=852 width=1910) + predicate:((s_county) IN ('Kittitas County', 'Adams County', 'Richland County', 'Furnas County') and s_store_sk is not null) + TableScan [TS_12] (rows=1704 width=1910) + default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_county"] + <-Reducer 6 [SIMPLE_EDGE] + SHUFFLE [RS_21] + PartitionCols:_col3 + Merge Join Operator [MERGEJOIN_58] (rows=696954748 width=88) + Conds:RS_18._col2=RS_19._col0(Inner),Output:["_col1","_col3","_col4"] + <-Map 10 [SIMPLE_EDGE] + SHUFFLE [RS_19] PartitionCols:_col0 - Select Operator [SEL_8] (rows=852 width=1910) + Select Operator [SEL_11] (rows=1200 width=107) Output:["_col0"] - Filter Operator [FIL_54] (rows=852 width=1910) - predicate:((s_county) IN ('Kittitas County', 'Adams County', 'Richland County', 'Furnas County') and s_store_sk is not null) - TableScan [TS_6] (rows=1704 width=1910) - default@store,store,Tbl:COMPLETE,Col:NONE,Output:["s_store_sk","s_county"] - <-Reducer 2 [SIMPLE_EDGE] - SHUFFLE [RS_15] - PartitionCols:_col3 - Merge Join Operator [MERGEJOIN_57] (rows=20088 width=1119) - Conds:RS_12._col0=RS_13._col0(Inner),Output:["_col1","_col2","_col3","_col4"] - <-Map 1 [SIMPLE_EDGE] - SHUFFLE [RS_12] + Filter Operator [FIL_55] (rows=1200 width=107) + predicate:(((hd_buy_potential = '1001-5000') or (hd_buy_potential = '5001-10000')) and (hd_vehicle_count > 0) and CASE WHEN ((hd_vehicle_count > 0)) THEN (((UDFToDouble(hd_dep_count) / UDFToDouble(hd_vehicle_count)) > 1.0)) ELSE (null) END and hd_demo_sk is not null) + TableScan [TS_9] (rows=7200 width=107) + default@household_demographics,household_demographics,Tbl:COMPLETE,Col:NONE,Output:["hd_demo_sk","hd_buy_potential","hd_dep_count","hd_vehicle_count"] + <-Reducer 5 [SIMPLE_EDGE] + SHUFFLE [RS_18] + PartitionCols:_col2 + Merge Join Operator [MERGEJOIN_57] (rows=633595212 width=88) + Conds:RS_15._col0=RS_16._col0(Inner),Output:["_col1","_col2","_col3","_col4"] + <-Map 4 [SIMPLE_EDGE] + SHUFFLE [RS_15] PartitionCols:_col0 - Select Operator [SEL_2] (rows=1 width=0) + Select Operator [SEL_5] (rows=575995635 width=88) Output:["_col0","_col1","_col2","_col3","_col4"] - Filter Operator [FIL_52] (rows=1 width=0) + Filter Operator [FIL_53] (rows=575995635 width=88) predicate:(ss_sold_date_sk is not null and ss_store_sk is not null and ss_hdemo_sk is not null and ss_customer_sk is not null) - TableScan [TS_0] (rows=1 width=0) - default@store_sales,store_sales,Tbl:PARTIAL,Col:NONE,Output:["ss_sold_date_sk","ss_customer_sk","ss_hdemo_sk","ss_store_sk","ss_ticket_number"] - <-Map 8 [SIMPLE_EDGE] - SHUFFLE [RS_13] + TableScan [TS_3] (rows=575995635 width=88) + default@store_sales,store_sales,Tbl:COMPLETE,Col:NONE,Output:["ss_sold_date_sk","ss_customer_sk","ss_hdemo_sk","ss_store_sk","ss_ticket_number"] + <-Map 9 [SIMPLE_EDGE] + SHUFFLE [RS_16] PartitionCols:_col0 - Select Operator [SEL_5] (rows=18262 width=1119) + Select Operator [SEL_8] (rows=18262 width=1119) Output:["_col0"] - Filter Operator [FIL_53] (rows=18262 width=1119) + Filter Operator [FIL_54] (rows=18262 width=1119) predicate:((d_year) IN (1998, 1999, 2000) and d_dom BETWEEN 1 AND 2 and d_date_sk is not null) - TableScan [TS_3] (rows=73049 width=1119) + TableScan [TS_6] (rows=73049 width=1119) default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year","d_dom"]