http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/perf/tez/query56.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/query56.q.out b/ql/src/test/results/clientpositive/perf/tez/query56.q.out index 18f64cc..17458f4 100644 --- a/ql/src/test/results/clientpositive/perf/tez/query56.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/query56.q.out @@ -204,9 +204,9 @@ Stage-0 SHUFFLE [RS_71] PartitionCols:_col0 Group By Operator [GBY_70] (rows=355 width=212) - Output:["_col0","_col1"],aggregations:["sum(_col8)"],keys:_col1 + Output:["_col0","_col1"],aggregations:["sum(_col7)"],keys:_col1 Merge Join Operator [MERGEJOIN_303] (rows=339151 width=100) - Conds:RS_66._col0=RS_67._col4(Inner),Output:["_col1","_col8"] + Conds:RS_66._col0=RS_67._col3(Inner),Output:["_col1","_col7"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_66] PartitionCols:_col0 @@ -239,15 +239,15 @@ Stage-0 default@item,item,Tbl:COMPLETE,Col:COMPLETE,Output:["i_item_id","i_color"] <-Reducer 23 [SIMPLE_EDGE] SHUFFLE [RS_67] - PartitionCols:_col4 + PartitionCols:_col3 Select Operator [SEL_62] (rows=1550375 width=13) - Output:["_col4","_col5"] + Output:["_col3","_col4"] Merge Join Operator [MERGEJOIN_298] (rows=1550375 width=13) Conds:RS_59._col1=RS_346._col0(Inner),Output:["_col2","_col3"] <-Map 28 [SIMPLE_EDGE] vectorized PARTITION_ONLY_SHUFFLE [RS_346] PartitionCols:_col0 - Select Operator [SEL_343] (rows=8000000 width=116) + Select Operator [SEL_343] (rows=8000000 width=4) Output:["_col0"] Filter Operator [FIL_342] (rows=8000000 width=112) predicate:((ca_gmt_offset = -8) and ca_address_sk is not null) @@ -261,7 +261,7 @@ Stage-0 <-Map 20 [SIMPLE_EDGE] vectorized PARTITION_ONLY_SHUFFLE [RS_330] PartitionCols:_col0 - Select Operator [SEL_327] (rows=50 width=12) + Select Operator [SEL_327] (rows=50 width=4) Output:["_col0"] Filter Operator [FIL_326] (rows=50 width=12) predicate:((d_moy = 1) and (d_year = 2000) and d_date_sk is not null) @@ -320,18 +320,18 @@ Stage-0 SHUFFLE [RS_109] PartitionCols:_col0 Group By Operator [GBY_108] (rows=355 width=212) - Output:["_col0","_col1"],aggregations:["sum(_col8)"],keys:_col1 + Output:["_col0","_col1"],aggregations:["sum(_col7)"],keys:_col1 Merge Join Operator [MERGEJOIN_304] (rows=172427 width=188) - Conds:RS_104._col0=RS_105._col3(Inner),Output:["_col1","_col8"] + Conds:RS_104._col0=RS_105._col2(Inner),Output:["_col1","_col7"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_104] PartitionCols:_col0 Please refer to the previous Merge Join Operator [MERGEJOIN_293] <-Reducer 26 [SIMPLE_EDGE] SHUFFLE [RS_105] - PartitionCols:_col3 + PartitionCols:_col2 Select Operator [SEL_100] (rows=788222 width=110) - Output:["_col3","_col5"] + Output:["_col2","_col4"] Merge Join Operator [MERGEJOIN_301] (rows=788222 width=110) Conds:RS_97._col2=RS_348._col0(Inner),Output:["_col1","_col3"] <-Map 28 [SIMPLE_EDGE] vectorized @@ -400,18 +400,18 @@ Stage-0 SHUFFLE [RS_34] PartitionCols:_col0 Group By Operator [GBY_33] (rows=355 width=212) - Output:["_col0","_col1"],aggregations:["sum(_col8)"],keys:_col1 + Output:["_col0","_col1"],aggregations:["sum(_col7)"],keys:_col1 Merge Join Operator [MERGEJOIN_302] (rows=629332 width=100) - Conds:RS_29._col0=RS_30._col3(Inner),Output:["_col1","_col8"] + Conds:RS_29._col0=RS_30._col2(Inner),Output:["_col1","_col7"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_29] PartitionCols:_col0 Please refer to the previous Merge Join Operator [MERGEJOIN_293] <-Reducer 19 [SIMPLE_EDGE] SHUFFLE [RS_30] - PartitionCols:_col3 + PartitionCols:_col2 Select Operator [SEL_25] (rows=2876890 width=4) - Output:["_col3","_col5"] + Output:["_col2","_col4"] Merge Join Operator [MERGEJOIN_295] (rows=2876890 width=4) Conds:RS_22._col2=RS_344._col0(Inner),Output:["_col1","_col3"] <-Map 28 [SIMPLE_EDGE] vectorized
http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/perf/tez/query57.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/query57.q.out b/ql/src/test/results/clientpositive/perf/tez/query57.q.out index 39b9510..4a18880 100644 --- a/ql/src/test/results/clientpositive/perf/tez/query57.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/query57.q.out @@ -133,10 +133,10 @@ Stage-0 Select Operator [SEL_109] (rows=130121 width=758) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8"] Merge Join Operator [MERGEJOIN_278] (rows=130121 width=646) - Conds:RS_106._col5, _col6, _col7, _col12=RS_306._col0, _col1, _col2, (_col4 - 1)(Inner),Output:["_col3","_col5","_col6","_col8","_col9","_col10","_col11","_col16"] + Conds:RS_106._col5, _col6, _col12, _col7=RS_306._col0, _col1, _col4, _col2(Inner),Output:["_col3","_col5","_col6","_col8","_col9","_col10","_col11","_col16"] <-Reducer 6 [SIMPLE_EDGE] vectorized SHUFFLE [RS_306] - PartitionCols:_col0, _col1, _col2, (_col4 - 1) + PartitionCols:_col0, _col1, _col4, _col2 Select Operator [SEL_304] (rows=87441185 width=404) Output:["_col0","_col1","_col2","_col3","_col4"] Filter Operator [FIL_302] (rows=87441185 width=408) @@ -216,12 +216,12 @@ Stage-0 Please refer to the previous Select Operator [SEL_280] <-Reducer 9 [ONE_TO_ONE_EDGE] FORWARD [RS_106] - PartitionCols:_col5, _col6, _col7, _col12 + PartitionCols:_col5, _col6, _col12, _col7 Merge Join Operator [MERGEJOIN_277] (rows=130121 width=636) - Conds:RS_307._col0, _col1, _col2, (_col4 + 1)=RS_318._col0, _col1, _col2, _col7(Inner),Output:["_col3","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12"] + Conds:RS_307._col0, _col1, _col4, _col2=RS_318._col0, _col1, _col7, _col2(Inner),Output:["_col3","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12"] <-Reducer 6 [SIMPLE_EDGE] vectorized SHUFFLE [RS_307] - PartitionCols:_col0, _col1, _col2, (_col4 + 1) + PartitionCols:_col0, _col1, _col4, _col2 Select Operator [SEL_305] (rows=87441185 width=404) Output:["_col0","_col1","_col2","_col3","_col4"] Filter Operator [FIL_303] (rows=87441185 width=408) @@ -231,7 +231,7 @@ Stage-0 Please refer to the previous Select Operator [SEL_299] <-Reducer 11 [SIMPLE_EDGE] vectorized SHUFFLE [RS_318] - PartitionCols:_col0, _col1, _col2, _col7 + PartitionCols:_col0, _col1, _col7, _col2 Select Operator [SEL_317] (rows=130121 width=524) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] Filter Operator [FIL_316] (rows=130121 width=524) http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/perf/tez/query58.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/query58.q.out b/ql/src/test/results/clientpositive/perf/tez/query58.q.out index 9e71fc0..bff619a 100644 --- a/ql/src/test/results/clientpositive/perf/tez/query58.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/query58.q.out @@ -171,223 +171,229 @@ Stage-0 limit:100 Stage-1 Reducer 7 vectorized - File Output Operator [FS_467] - Limit [LIM_466] (rows=1 width=884) + File Output Operator [FS_470] + Limit [LIM_469] (rows=1 width=884) Number of rows:100 - Select Operator [SEL_465] (rows=1 width=884) + Select Operator [SEL_468] (rows=1 width=884) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] <-Reducer 6 [SIMPLE_EDGE] SHUFFLE [RS_163] Select Operator [SEL_162] (rows=1 width=884) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] - Filter Operator [FIL_158] (rows=1 width=436) - predicate:(_col1 BETWEEN (0.9 * _col5) AND (1.1 * _col5) and _col3 BETWEEN (0.9 * _col5) AND (1.1 * _col5) and _col5 BETWEEN (0.9 * _col1) AND (1.1 * _col1) and _col5 BETWEEN (0.9 * _col3) AND (1.1 * _col3)) - Merge Join Operator [MERGEJOIN_419] (rows=1 width=436) - Conds:RS_155._col0=RS_464._col0(Inner),Output:["_col0","_col1","_col3","_col5"] + Filter Operator [FIL_158] (rows=1 width=1108) + predicate:(_col1 BETWEEN _col10 AND _col11 and _col5 BETWEEN _col10 AND _col11 and _col9 BETWEEN _col2 AND _col3 and _col9 BETWEEN _col6 AND _col7) + Merge Join Operator [MERGEJOIN_419] (rows=1 width=1108) + Conds:RS_155._col0=RS_467._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col5","_col6","_col7","_col9","_col10","_col11"] <-Reducer 14 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_464] + FORWARD [RS_467] PartitionCols:_col0 - Group By Operator [GBY_463] (rows=69 width=212) - Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0 - <-Reducer 13 [SIMPLE_EDGE] - SHUFFLE [RS_147] - PartitionCols:_col0 - Group By Operator [GBY_146] (rows=69 width=212) - Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col4 - Merge Join Operator [MERGEJOIN_417] (rows=31537 width=100) - Conds:RS_142._col0=RS_143._col0(Inner),Output:["_col2","_col4"] - <-Reducer 16 [SIMPLE_EDGE] - SHUFFLE [RS_143] - PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_406] (rows=2 width=4) - Conds:RS_422._col1=RS_438._col0(Inner),Output:["_col0"] - <-Map 15 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_422] - PartitionCols:_col1 - Select Operator [SEL_421] (rows=73049 width=98) - Output:["_col0","_col1"] - Filter Operator [FIL_420] (rows=73049 width=98) - predicate:(d_date is not null and d_date_sk is not null) - TableScan [TS_6] (rows=73049 width=98) - default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_date"] - <-Reducer 24 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_438] - PartitionCols:_col0 - Group By Operator [GBY_437] (rows=2 width=94) - Output:["_col0"],keys:KEY._col0 - <-Reducer 23 [SIMPLE_EDGE] - SHUFFLE [RS_32] - PartitionCols:_col0 - Group By Operator [GBY_31] (rows=2 width=94) - Output:["_col0"],keys:_col2 - Merge Join Operator [MERGEJOIN_405] (rows=5 width=94) - Conds:RS_27._col1=RS_435._col1(Inner),Output:["_col2"] - <-Map 25 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_435] - PartitionCols:_col1 - Select Operator [SEL_433] (rows=73049 width=98) - Output:["_col0","_col1"] - Filter Operator [FIL_431] (rows=73049 width=98) - predicate:(d_date is not null and d_week_seq is not null) - TableScan [TS_21] (rows=73049 width=98) - default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date","d_week_seq"] - <-Reducer 22 [SIMPLE_EDGE] - SHUFFLE [RS_27] - PartitionCols:_col1 - Merge Join Operator [MERGEJOIN_404] (rows=1 width=4) - Conds:(Inner),Output:["_col1"] - <-Map 25 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_436] - Select Operator [SEL_434] (rows=1 width=4) - Output:["_col0"] - Filter Operator [FIL_432] (rows=1 width=98) - predicate:((d_date = '1998-02-19') and d_week_seq is not null) - Please refer to the previous TableScan [TS_21] - <-Reducer 21 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_430] - Select Operator [SEL_429] (rows=1 width=8) - Filter Operator [FIL_428] (rows=1 width=8) - predicate:(sq_count_check(_col0) <= 1) - Group By Operator [GBY_427] (rows=1 width=8) - Output:["_col0"],aggregations:["count(VALUE._col0)"] - <-Map 20 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_426] - Group By Operator [GBY_425] (rows=1 width=8) - Output:["_col0"],aggregations:["count()"] - Select Operator [SEL_424] (rows=1 width=94) - Filter Operator [FIL_423] (rows=1 width=94) - predicate:(d_date = '1998-02-19') - TableScan [TS_9] (rows=73049 width=94) - default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date"] - <-Reducer 12 [SIMPLE_EDGE] - SHUFFLE [RS_142] - PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_411] (rows=143966864 width=215) - Conds:RS_462._col1=RS_448._col0(Inner),Output:["_col0","_col2","_col4"] - <-Map 8 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_448] - PartitionCols:_col0 - Select Operator [SEL_445] (rows=462000 width=104) - Output:["_col0","_col1"] - Filter Operator [FIL_444] (rows=462000 width=104) - predicate:(i_item_id is not null and i_item_sk is not null) - TableScan [TS_3] (rows=462000 width=104) - default@item,item,Tbl:COMPLETE,Col:COMPLETE,Output:["i_item_sk","i_item_id"] - <-Map 27 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_462] - PartitionCols:_col1 - Select Operator [SEL_461] (rows=143966864 width=119) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_460] (rows=143966864 width=119) - predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_143_date_dim_d_date_sk_min) AND DynamicValue(RS_143_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_143_date_dim_d_date_sk_bloom_filter))) and ws_item_sk is not null and ws_sold_date_sk is not null) - TableScan [TS_100] (rows=144002668 width=119) - default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_item_sk","ws_ext_sales_price"] - <-Reducer 19 [BROADCAST_EDGE] vectorized - BROADCAST [RS_459] - Group By Operator [GBY_458] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Reducer 16 [CUSTOM_SIMPLE_EDGE] - SHUFFLE [RS_363] - Group By Operator [GBY_362] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_361] (rows=2 width=4) - Output:["_col0"] - Please refer to the previous Merge Join Operator [MERGEJOIN_406] + Select Operator [SEL_466] (rows=69 width=436) + Output:["_col0","_col1","_col2","_col3"] + Group By Operator [GBY_465] (rows=69 width=212) + Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0 + <-Reducer 13 [SIMPLE_EDGE] + SHUFFLE [RS_147] + PartitionCols:_col0 + Group By Operator [GBY_146] (rows=69 width=212) + Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col4 + Merge Join Operator [MERGEJOIN_417] (rows=31537 width=100) + Conds:RS_142._col0=RS_143._col0(Inner),Output:["_col2","_col4"] + <-Reducer 16 [SIMPLE_EDGE] + SHUFFLE [RS_143] + PartitionCols:_col0 + Merge Join Operator [MERGEJOIN_406] (rows=2 width=4) + Conds:RS_422._col1=RS_438._col0(Inner),Output:["_col0"] + <-Map 15 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_422] + PartitionCols:_col1 + Select Operator [SEL_421] (rows=73049 width=98) + Output:["_col0","_col1"] + Filter Operator [FIL_420] (rows=73049 width=98) + predicate:(d_date is not null and d_date_sk is not null) + TableScan [TS_6] (rows=73049 width=98) + default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_date"] + <-Reducer 24 [ONE_TO_ONE_EDGE] vectorized + FORWARD [RS_438] + PartitionCols:_col0 + Group By Operator [GBY_437] (rows=2 width=94) + Output:["_col0"],keys:KEY._col0 + <-Reducer 23 [SIMPLE_EDGE] + SHUFFLE [RS_32] + PartitionCols:_col0 + Group By Operator [GBY_31] (rows=2 width=94) + Output:["_col0"],keys:_col2 + Merge Join Operator [MERGEJOIN_405] (rows=5 width=94) + Conds:RS_27._col1=RS_435._col1(Inner),Output:["_col2"] + <-Map 25 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_435] + PartitionCols:_col1 + Select Operator [SEL_433] (rows=73049 width=98) + Output:["_col0","_col1"] + Filter Operator [FIL_431] (rows=73049 width=98) + predicate:(d_date is not null and d_week_seq is not null) + TableScan [TS_21] (rows=73049 width=98) + default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date","d_week_seq"] + <-Reducer 22 [SIMPLE_EDGE] + SHUFFLE [RS_27] + PartitionCols:_col1 + Merge Join Operator [MERGEJOIN_404] (rows=1 width=4) + Conds:(Inner),Output:["_col1"] + <-Map 25 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_436] + Select Operator [SEL_434] (rows=1 width=4) + Output:["_col0"] + Filter Operator [FIL_432] (rows=1 width=98) + predicate:((d_date = '1998-02-19') and d_week_seq is not null) + Please refer to the previous TableScan [TS_21] + <-Reducer 21 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_430] + Select Operator [SEL_429] (rows=1 width=8) + Filter Operator [FIL_428] (rows=1 width=8) + predicate:(sq_count_check(_col0) <= 1) + Group By Operator [GBY_427] (rows=1 width=8) + Output:["_col0"],aggregations:["count(VALUE._col0)"] + <-Map 20 [CUSTOM_SIMPLE_EDGE] vectorized + PARTITION_ONLY_SHUFFLE [RS_426] + Group By Operator [GBY_425] (rows=1 width=8) + Output:["_col0"],aggregations:["count()"] + Select Operator [SEL_424] (rows=1 width=94) + Filter Operator [FIL_423] (rows=1 width=94) + predicate:(d_date = '1998-02-19') + TableScan [TS_9] (rows=73049 width=94) + default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date"] + <-Reducer 12 [SIMPLE_EDGE] + SHUFFLE [RS_142] + PartitionCols:_col0 + Merge Join Operator [MERGEJOIN_411] (rows=143966864 width=215) + Conds:RS_464._col1=RS_448._col0(Inner),Output:["_col0","_col2","_col4"] + <-Map 8 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_448] + PartitionCols:_col0 + Select Operator [SEL_445] (rows=462000 width=104) + Output:["_col0","_col1"] + Filter Operator [FIL_444] (rows=462000 width=104) + predicate:(i_item_id is not null and i_item_sk is not null) + TableScan [TS_3] (rows=462000 width=104) + default@item,item,Tbl:COMPLETE,Col:COMPLETE,Output:["i_item_sk","i_item_id"] + <-Map 27 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_464] + PartitionCols:_col1 + Select Operator [SEL_463] (rows=143966864 width=119) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_462] (rows=143966864 width=119) + predicate:((ws_sold_date_sk BETWEEN DynamicValue(RS_143_date_dim_d_date_sk_min) AND DynamicValue(RS_143_date_dim_d_date_sk_max) and in_bloom_filter(ws_sold_date_sk, DynamicValue(RS_143_date_dim_d_date_sk_bloom_filter))) and ws_item_sk is not null and ws_sold_date_sk is not null) + TableScan [TS_100] (rows=144002668 width=119) + default@web_sales,web_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ws_sold_date_sk","ws_item_sk","ws_ext_sales_price"] + <-Reducer 19 [BROADCAST_EDGE] vectorized + BROADCAST [RS_461] + Group By Operator [GBY_460] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Reducer 16 [CUSTOM_SIMPLE_EDGE] + SHUFFLE [RS_363] + Group By Operator [GBY_362] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_361] (rows=2 width=4) + Output:["_col0"] + Please refer to the previous Merge Join Operator [MERGEJOIN_406] <-Reducer 5 [ONE_TO_ONE_EDGE] FORWARD [RS_155] PartitionCols:_col0 - Filter Operator [FIL_153] (rows=1 width=324) - predicate:(_col1 BETWEEN (0.9 * _col3) AND (1.1 * _col3) and _col3 BETWEEN (0.9 * _col1) AND (1.1 * _col1)) - Merge Join Operator [MERGEJOIN_418] (rows=68 width=324) - Conds:RS_450._col0=RS_457._col0(Inner),Output:["_col0","_col1","_col3"] + Filter Operator [FIL_153] (rows=1 width=772) + predicate:(_col1 BETWEEN _col6 AND _col7 and _col5 BETWEEN _col2 AND _col3) + Merge Join Operator [MERGEJOIN_418] (rows=68 width=772) + Conds:RS_451._col0=RS_459._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col5","_col6","_col7"] <-Reducer 11 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_457] + FORWARD [RS_459] PartitionCols:_col0 - Group By Operator [GBY_456] (rows=69 width=212) - Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0 - <-Reducer 10 [SIMPLE_EDGE] - SHUFFLE [RS_97] - PartitionCols:_col0 - Group By Operator [GBY_96] (rows=69 width=212) - Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col4 - Merge Join Operator [MERGEJOIN_416] (rows=120498 width=100) - Conds:RS_92._col0=RS_93._col0(Inner),Output:["_col2","_col4"] - <-Reducer 16 [SIMPLE_EDGE] - SHUFFLE [RS_93] - PartitionCols:_col0 - Please refer to the previous Merge Join Operator [MERGEJOIN_406] - <-Reducer 9 [SIMPLE_EDGE] - SHUFFLE [RS_92] - PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_407] (rows=550076554 width=210) - Conds:RS_455._col1=RS_447._col0(Inner),Output:["_col0","_col2","_col4"] - <-Map 8 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_447] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_445] - <-Map 26 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_455] - PartitionCols:_col1 - Select Operator [SEL_454] (rows=550076554 width=114) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_453] (rows=550076554 width=114) - predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_93_date_dim_d_date_sk_min) AND DynamicValue(RS_93_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_93_date_dim_d_date_sk_bloom_filter))) and ss_item_sk is not null and ss_sold_date_sk is not null) - TableScan [TS_50] (rows=575995635 width=114) - default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_item_sk","ss_ext_sales_price"] - <-Reducer 18 [BROADCAST_EDGE] vectorized - BROADCAST [RS_452] - Group By Operator [GBY_451] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Reducer 16 [CUSTOM_SIMPLE_EDGE] - SHUFFLE [RS_317] - Group By Operator [GBY_316] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_315] (rows=2 width=4) - Output:["_col0"] - Please refer to the previous Merge Join Operator [MERGEJOIN_406] + Select Operator [SEL_458] (rows=69 width=436) + Output:["_col0","_col1","_col2","_col3"] + Group By Operator [GBY_457] (rows=69 width=212) + Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0 + <-Reducer 10 [SIMPLE_EDGE] + SHUFFLE [RS_97] + PartitionCols:_col0 + Group By Operator [GBY_96] (rows=69 width=212) + Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col4 + Merge Join Operator [MERGEJOIN_416] (rows=120498 width=100) + Conds:RS_92._col0=RS_93._col0(Inner),Output:["_col2","_col4"] + <-Reducer 16 [SIMPLE_EDGE] + SHUFFLE [RS_93] + PartitionCols:_col0 + Please refer to the previous Merge Join Operator [MERGEJOIN_406] + <-Reducer 9 [SIMPLE_EDGE] + SHUFFLE [RS_92] + PartitionCols:_col0 + Merge Join Operator [MERGEJOIN_407] (rows=550076554 width=210) + Conds:RS_456._col1=RS_447._col0(Inner),Output:["_col0","_col2","_col4"] + <-Map 8 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_447] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_445] + <-Map 26 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_456] + PartitionCols:_col1 + Select Operator [SEL_455] (rows=550076554 width=114) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_454] (rows=550076554 width=114) + predicate:((ss_sold_date_sk BETWEEN DynamicValue(RS_93_date_dim_d_date_sk_min) AND DynamicValue(RS_93_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_93_date_dim_d_date_sk_bloom_filter))) and ss_item_sk is not null and ss_sold_date_sk is not null) + TableScan [TS_50] (rows=575995635 width=114) + default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_item_sk","ss_ext_sales_price"] + <-Reducer 18 [BROADCAST_EDGE] vectorized + BROADCAST [RS_453] + Group By Operator [GBY_452] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Reducer 16 [CUSTOM_SIMPLE_EDGE] + SHUFFLE [RS_317] + Group By Operator [GBY_316] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_315] (rows=2 width=4) + Output:["_col0"] + Please refer to the previous Merge Join Operator [MERGEJOIN_406] <-Reducer 4 [ONE_TO_ONE_EDGE] vectorized - FORWARD [RS_450] + FORWARD [RS_451] PartitionCols:_col0 - Group By Operator [GBY_449] (rows=68 width=212) - Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0 - <-Reducer 3 [SIMPLE_EDGE] - SHUFFLE [RS_47] - PartitionCols:_col0 - Group By Operator [GBY_46] (rows=68 width=212) - Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col4 - Merge Join Operator [MERGEJOIN_415] (rows=62327 width=100) - Conds:RS_42._col0=RS_43._col0(Inner),Output:["_col2","_col4"] - <-Reducer 16 [SIMPLE_EDGE] - SHUFFLE [RS_43] - PartitionCols:_col0 - Please refer to the previous Merge Join Operator [MERGEJOIN_406] - <-Reducer 2 [SIMPLE_EDGE] - SHUFFLE [RS_42] - PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_403] (rows=286549727 width=215) - Conds:RS_443._col1=RS_446._col0(Inner),Output:["_col0","_col2","_col4"] - <-Map 8 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_446] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_445] - <-Map 1 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_443] - PartitionCols:_col1 - Select Operator [SEL_442] (rows=286549727 width=119) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_441] (rows=286549727 width=119) - predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_43_date_dim_d_date_sk_min) AND DynamicValue(RS_43_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_43_date_dim_d_date_sk_bloom_filter))) and cs_item_sk is not null and cs_sold_date_sk is not null) - TableScan [TS_0] (rows=287989836 width=119) - default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_item_sk","cs_ext_sales_price"] - <-Reducer 17 [BROADCAST_EDGE] vectorized - BROADCAST [RS_440] - Group By Operator [GBY_439] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Reducer 16 [CUSTOM_SIMPLE_EDGE] - SHUFFLE [RS_267] - Group By Operator [GBY_266] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_265] (rows=2 width=4) - Output:["_col0"] - Please refer to the previous Merge Join Operator [MERGEJOIN_406] + Select Operator [SEL_450] (rows=68 width=436) + Output:["_col0","_col1","_col2","_col3"] + Group By Operator [GBY_449] (rows=68 width=212) + Output:["_col0","_col1"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0 + <-Reducer 3 [SIMPLE_EDGE] + SHUFFLE [RS_47] + PartitionCols:_col0 + Group By Operator [GBY_46] (rows=68 width=212) + Output:["_col0","_col1"],aggregations:["sum(_col2)"],keys:_col4 + Merge Join Operator [MERGEJOIN_415] (rows=62327 width=100) + Conds:RS_42._col0=RS_43._col0(Inner),Output:["_col2","_col4"] + <-Reducer 16 [SIMPLE_EDGE] + SHUFFLE [RS_43] + PartitionCols:_col0 + Please refer to the previous Merge Join Operator [MERGEJOIN_406] + <-Reducer 2 [SIMPLE_EDGE] + SHUFFLE [RS_42] + PartitionCols:_col0 + Merge Join Operator [MERGEJOIN_403] (rows=286549727 width=215) + Conds:RS_443._col1=RS_446._col0(Inner),Output:["_col0","_col2","_col4"] + <-Map 8 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_446] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_445] + <-Map 1 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_443] + PartitionCols:_col1 + Select Operator [SEL_442] (rows=286549727 width=119) + Output:["_col0","_col1","_col2"] + Filter Operator [FIL_441] (rows=286549727 width=119) + predicate:((cs_sold_date_sk BETWEEN DynamicValue(RS_43_date_dim_d_date_sk_min) AND DynamicValue(RS_43_date_dim_d_date_sk_max) and in_bloom_filter(cs_sold_date_sk, DynamicValue(RS_43_date_dim_d_date_sk_bloom_filter))) and cs_item_sk is not null and cs_sold_date_sk is not null) + TableScan [TS_0] (rows=287989836 width=119) + default@catalog_sales,catalog_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["cs_sold_date_sk","cs_item_sk","cs_ext_sales_price"] + <-Reducer 17 [BROADCAST_EDGE] vectorized + BROADCAST [RS_440] + Group By Operator [GBY_439] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Reducer 16 [CUSTOM_SIMPLE_EDGE] + SHUFFLE [RS_267] + Group By Operator [GBY_266] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_265] (rows=2 width=4) + Output:["_col0"] + Please refer to the previous Merge Join Operator [MERGEJOIN_406] http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/perf/tez/query59.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/query59.q.out b/ql/src/test/results/clientpositive/perf/tez/query59.q.out index 2ac474a..d325a95 100644 --- a/ql/src/test/results/clientpositive/perf/tez/query59.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/query59.q.out @@ -95,78 +95,79 @@ POSTHOOK: Output: hdfs://### HDFS PATH ### Plan optimized by CBO. Vertex dependency in root stage -Reducer 10 <- Map 14 (SIMPLE_EDGE), Reducer 9 (SIMPLE_EDGE) -Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 11 (SIMPLE_EDGE) +Reducer 10 <- Map 13 (SIMPLE_EDGE), Reducer 9 (SIMPLE_EDGE) +Reducer 11 <- Map 15 (SIMPLE_EDGE), Reducer 10 (SIMPLE_EDGE) +Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 12 (SIMPLE_EDGE) Reducer 3 <- Reducer 2 (SIMPLE_EDGE) -Reducer 4 <- Map 12 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE) -Reducer 5 <- Map 13 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE) -Reducer 6 <- Reducer 10 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE) +Reducer 4 <- Map 13 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE) +Reducer 5 <- Map 14 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE) +Reducer 6 <- Reducer 11 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE) Reducer 7 <- Reducer 6 (SIMPLE_EDGE) -Reducer 8 <- Reducer 2 (SIMPLE_EDGE) -Reducer 9 <- Map 12 (SIMPLE_EDGE), Reducer 8 (SIMPLE_EDGE) +Reducer 8 <- Map 1 (SIMPLE_EDGE), Map 12 (SIMPLE_EDGE) +Reducer 9 <- Reducer 8 (SIMPLE_EDGE) Stage-0 Fetch Operator limit:100 Stage-1 Reducer 7 vectorized - File Output Operator [FS_208] - Limit [LIM_207] (rows=100 width=976) + File Output Operator [FS_211] + Limit [LIM_210] (rows=100 width=976) Number of rows:100 - Select Operator [SEL_206] (rows=1012347 width=976) + Select Operator [SEL_209] (rows=1012347 width=976) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"] <-Reducer 6 [SIMPLE_EDGE] SHUFFLE [RS_59] Select Operator [SEL_58] (rows=1012347 width=976) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"] Merge Join Operator [MERGEJOIN_183] (rows=1012347 width=1648) - Conds:RS_55._col12, _col0=RS_56._col1, (_col0 - 52)(Inner),Output:["_col0","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col12","_col13","_col16","_col17","_col18","_col19","_col20","_col21"] - <-Reducer 10 [SIMPLE_EDGE] + Conds:RS_55._col11, _col0=RS_56._col1, (_col0 - 52)(Inner),Output:["_col0","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col11","_col12","_col15","_col16","_col17","_col18","_col19","_col20"] + <-Reducer 11 [SIMPLE_EDGE] SHUFFLE [RS_56] PartitionCols:_col1, (_col0 - 52) Select Operator [SEL_48] (rows=28847 width=776) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] Merge Join Operator [MERGEJOIN_182] (rows=28847 width=776) - Conds:RS_45._col1=RS_205._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5","_col6","_col7","_col11"] - <-Map 14 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_205] + Conds:RS_45._col1=RS_208._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5","_col6","_col7","_col10"] + <-Map 15 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_208] PartitionCols:_col0 - Select Operator [SEL_204] (rows=1704 width=104) + Select Operator [SEL_207] (rows=1704 width=104) Output:["_col0","_col1"] - Filter Operator [FIL_203] (rows=1704 width=104) + Filter Operator [FIL_206] (rows=1704 width=104) predicate:(s_store_id is not null and s_store_sk is not null) TableScan [TS_39] (rows=1704 width=104) default@store,store,Tbl:COMPLETE,Col:COMPLETE,Output:["s_store_sk","s_store_id"] - <-Reducer 9 [SIMPLE_EDGE] + <-Reducer 10 [SIMPLE_EDGE] SHUFFLE [RS_45] PartitionCols:_col1 Merge Join Operator [MERGEJOIN_181] (rows=28847 width=676) - Conds:RS_202._col0=RS_197._col1(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] - <-Map 12 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_197] - PartitionCols:_col1 - Select Operator [SEL_195] (rows=317 width=8) - Output:["_col1"] - Filter Operator [FIL_193] (rows=317 width=8) + Conds:RS_205._col0=RS_200._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] + <-Map 13 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_200] + PartitionCols:_col0 + Select Operator [SEL_198] (rows=317 width=4) + Output:["_col0"] + Filter Operator [FIL_196] (rows=317 width=8) predicate:(d_month_seq BETWEEN 1197 AND 1208 and d_week_seq is not null) TableScan [TS_15] (rows=73049 width=8) default@date_dim,d,Tbl:COMPLETE,Col:COMPLETE,Output:["d_month_seq","d_week_seq"] - <-Reducer 8 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_202] + <-Reducer 9 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_205] PartitionCols:_col0 - Group By Operator [GBY_201] (rows=1196832 width=679) + Group By Operator [GBY_204] (rows=1196832 width=679) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)","sum(VALUE._col4)","sum(VALUE._col5)"],keys:KEY._col0, KEY._col1 - <-Reducer 2 [SIMPLE_EDGE] + <-Reducer 8 [SIMPLE_EDGE] SHUFFLE [RS_33] PartitionCols:_col0, _col1 Group By Operator [GBY_32] (rows=525329897 width=679) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"],aggregations:["sum(_col2)","sum(_col3)","sum(_col5)","sum(_col6)","sum(_col7)","sum(_col8)"],keys:_col0, _col1 - Select Operator [SEL_30] (rows=525329897 width=205) + Select Operator [SEL_30] (rows=525329897 width=138) Output:["_col0","_col1","_col2","_col3","_col5","_col6","_col7","_col8"] - Merge Join Operator [MERGEJOIN_177] (rows=525329897 width=205) - Conds:RS_186._col0=RS_189._col0(Inner),Output:["_col1","_col2","_col4","_col5"] + Merge Join Operator [MERGEJOIN_180] (rows=525329897 width=138) + Conds:RS_187._col0=RS_192._col0(Inner),Output:["_col1","_col2","_col4","_col5","_col6","_col8","_col9","_col10","_col11"] <-Map 1 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_186] + SHUFFLE [RS_187] PartitionCols:_col0 Select Operator [SEL_185] (rows=525329897 width=114) Output:["_col0","_col1","_col2"] @@ -174,26 +175,26 @@ Stage-0 predicate:(ss_sold_date_sk is not null and ss_store_sk is not null) TableScan [TS_0] (rows=575995635 width=114) default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_store_sk","ss_sales_price"] - <-Map 11 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_189] + <-Map 12 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_192] PartitionCols:_col0 - Select Operator [SEL_188] (rows=73049 width=99) - Output:["_col0","_col1","_col2"] - Filter Operator [FIL_187] (rows=73049 width=99) + Select Operator [SEL_190] (rows=73049 width=36) + Output:["_col0","_col1","_col2","_col3","_col5","_col6","_col7","_col8"] + Filter Operator [FIL_188] (rows=73049 width=99) predicate:(d_date_sk is not null and d_week_seq is not null) TableScan [TS_3] (rows=73049 width=99) default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_week_seq","d_day_name"] <-Reducer 5 [SIMPLE_EDGE] SHUFFLE [RS_55] - PartitionCols:_col12, _col0 + PartitionCols:_col11, _col0 Merge Join Operator [MERGEJOIN_179] (rows=28847 width=976) - Conds:RS_52._col1=RS_200._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col12","_col13"] - <-Map 13 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_200] + Conds:RS_52._col1=RS_203._col0(Inner),Output:["_col0","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col11","_col12"] + <-Map 14 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_203] PartitionCols:_col0 - Select Operator [SEL_199] (rows=1704 width=192) + Select Operator [SEL_202] (rows=1704 width=192) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_198] (rows=1704 width=192) + Filter Operator [FIL_201] (rows=1704 width=192) predicate:(s_store_id is not null and s_store_sk is not null) TableScan [TS_18] (rows=1704 width=192) default@store,store,Tbl:COMPLETE,Col:COMPLETE,Output:["s_store_sk","s_store_id","s_store_name"] @@ -201,26 +202,37 @@ Stage-0 SHUFFLE [RS_52] PartitionCols:_col1 Merge Join Operator [MERGEJOIN_178] (rows=28847 width=788) - Conds:RS_191._col0=RS_196._col1(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8"] - <-Map 12 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_196] - PartitionCols:_col1 - Select Operator [SEL_194] (rows=317 width=8) - Output:["_col1"] - Filter Operator [FIL_192] (rows=317 width=8) + Conds:RS_194._col0=RS_199._col0(Inner),Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8"] + <-Map 13 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_199] + PartitionCols:_col0 + Select Operator [SEL_197] (rows=317 width=4) + Output:["_col0"] + Filter Operator [FIL_195] (rows=317 width=8) predicate:(d_month_seq BETWEEN 1185 AND 1196 and d_week_seq is not null) Please refer to the previous TableScan [TS_15] <-Reducer 3 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_191] + SHUFFLE [RS_194] PartitionCols:_col0 - Group By Operator [GBY_190] (rows=1196832 width=791) + Group By Operator [GBY_193] (rows=1196832 width=791) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)","sum(VALUE._col2)","sum(VALUE._col3)","sum(VALUE._col4)","sum(VALUE._col5)","sum(VALUE._col6)"],keys:KEY._col0, KEY._col1 <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_12] PartitionCols:_col0, _col1 Group By Operator [GBY_11] (rows=525329897 width=791) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8"],aggregations:["sum(_col2)","sum(_col3)","sum(_col4)","sum(_col5)","sum(_col6)","sum(_col7)","sum(_col8)"],keys:_col0, _col1 - Select Operator [SEL_9] (rows=525329897 width=205) + Select Operator [SEL_9] (rows=525329897 width=142) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8"] - Please refer to the previous Merge Join Operator [MERGEJOIN_177] + Merge Join Operator [MERGEJOIN_177] (rows=525329897 width=142) + Conds:RS_186._col0=RS_191._col0(Inner),Output:["_col1","_col2","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11"] + <-Map 1 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_186] + PartitionCols:_col0 + Please refer to the previous Select Operator [SEL_185] + <-Map 12 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_191] + PartitionCols:_col0 + Select Operator [SEL_189] (rows=73049 width=36) + Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8"] + Please refer to the previous Filter Operator [FIL_188] http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/perf/tez/query6.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/query6.q.out b/ql/src/test/results/clientpositive/perf/tez/query6.q.out index 7de4229..0ca7039 100644 --- a/ql/src/test/results/clientpositive/perf/tez/query6.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/query6.q.out @@ -107,12 +107,12 @@ Stage-0 Select Operator [SEL_212] (rows=154000 width=227) Output:["_col0"] Filter Operator [FIL_211] (rows=154000 width=227) - predicate:(_col4 > (1.2 * CAST( _col0 AS decimal(16,6)))) + predicate:(_col4 > _col1) Map Join Operator [MAPJOIN_210] (rows=462000 width=227) - Conds:RS_207._col1=SEL_209._col2(Inner),HybridGraceHashJoin:true,Output:["_col0","_col3","_col4"] + Conds:RS_207._col0=SEL_209._col2(Inner),HybridGraceHashJoin:true,Output:["_col1","_col3","_col4"] <-Reducer 15 [BROADCAST_EDGE] vectorized BROADCAST [RS_207] - PartitionCols:_col1 + PartitionCols:_col0 Map Join Operator [MAPJOIN_206] (rows=10 width=202) Conds:(Inner),Output:["_col0","_col1"] <-Reducer 5 [BROADCAST_EDGE] vectorized http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/perf/tez/query60.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/query60.q.out b/ql/src/test/results/clientpositive/perf/tez/query60.q.out index f94101a..8a499c8 100644 --- a/ql/src/test/results/clientpositive/perf/tez/query60.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/query60.q.out @@ -226,9 +226,9 @@ Stage-0 SHUFFLE [RS_71] PartitionCols:_col0 Group By Operator [GBY_70] (rows=1717 width=212) - Output:["_col0","_col1"],aggregations:["sum(_col8)"],keys:_col1 + Output:["_col0","_col1"],aggregations:["sum(_col7)"],keys:_col1 Merge Join Operator [MERGEJOIN_304] (rows=746132 width=100) - Conds:RS_66._col0=RS_67._col4(Inner),Output:["_col1","_col8"] + Conds:RS_66._col0=RS_67._col3(Inner),Output:["_col1","_col7"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_66] PartitionCols:_col0 @@ -261,15 +261,15 @@ Stage-0 default@item,item,Tbl:COMPLETE,Col:COMPLETE,Output:["i_item_id","i_category"] <-Reducer 23 [SIMPLE_EDGE] SHUFFLE [RS_67] - PartitionCols:_col4 + PartitionCols:_col3 Select Operator [SEL_62] (rows=1550375 width=13) - Output:["_col4","_col5"] + Output:["_col3","_col4"] Merge Join Operator [MERGEJOIN_299] (rows=1550375 width=13) Conds:RS_59._col1=RS_350._col0(Inner),Output:["_col2","_col3"] <-Map 28 [SIMPLE_EDGE] vectorized PARTITION_ONLY_SHUFFLE [RS_350] PartitionCols:_col0 - Select Operator [SEL_347] (rows=8000000 width=116) + Select Operator [SEL_347] (rows=8000000 width=4) Output:["_col0"] Filter Operator [FIL_346] (rows=8000000 width=112) predicate:((ca_gmt_offset = -6) and ca_address_sk is not null) @@ -283,7 +283,7 @@ Stage-0 <-Map 20 [SIMPLE_EDGE] vectorized PARTITION_ONLY_SHUFFLE [RS_334] PartitionCols:_col0 - Select Operator [SEL_331] (rows=50 width=12) + Select Operator [SEL_331] (rows=50 width=4) Output:["_col0"] Filter Operator [FIL_330] (rows=50 width=12) predicate:((d_moy = 9) and (d_year = 1999) and d_date_sk is not null) @@ -344,18 +344,18 @@ Stage-0 SHUFFLE [RS_109] PartitionCols:_col0 Group By Operator [GBY_108] (rows=1717 width=212) - Output:["_col0","_col1"],aggregations:["sum(_col8)"],keys:_col1 + Output:["_col0","_col1"],aggregations:["sum(_col7)"],keys:_col1 Merge Join Operator [MERGEJOIN_305] (rows=379339 width=201) - Conds:RS_104._col0=RS_105._col3(Inner),Output:["_col1","_col8"] + Conds:RS_104._col0=RS_105._col2(Inner),Output:["_col1","_col7"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_104] PartitionCols:_col0 Please refer to the previous Merge Join Operator [MERGEJOIN_294] <-Reducer 26 [SIMPLE_EDGE] SHUFFLE [RS_105] - PartitionCols:_col3 + PartitionCols:_col2 Select Operator [SEL_100] (rows=788222 width=110) - Output:["_col3","_col5"] + Output:["_col2","_col4"] Merge Join Operator [MERGEJOIN_302] (rows=788222 width=110) Conds:RS_97._col2=RS_352._col0(Inner),Output:["_col1","_col3"] <-Map 28 [SIMPLE_EDGE] vectorized @@ -426,18 +426,18 @@ Stage-0 SHUFFLE [RS_34] PartitionCols:_col0 Group By Operator [GBY_33] (rows=1717 width=212) - Output:["_col0","_col1"],aggregations:["sum(_col8)"],keys:_col1 + Output:["_col0","_col1"],aggregations:["sum(_col7)"],keys:_col1 Merge Join Operator [MERGEJOIN_303] (rows=1384530 width=100) - Conds:RS_29._col0=RS_30._col3(Inner),Output:["_col1","_col8"] + Conds:RS_29._col0=RS_30._col2(Inner),Output:["_col1","_col7"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_29] PartitionCols:_col0 Please refer to the previous Merge Join Operator [MERGEJOIN_294] <-Reducer 19 [SIMPLE_EDGE] SHUFFLE [RS_30] - PartitionCols:_col3 + PartitionCols:_col2 Select Operator [SEL_25] (rows=2876890 width=4) - Output:["_col3","_col5"] + Output:["_col2","_col4"] Merge Join Operator [MERGEJOIN_296] (rows=2876890 width=4) Conds:RS_22._col2=RS_348._col0(Inner),Output:["_col1","_col3"] <-Map 28 [SIMPLE_EDGE] vectorized http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/perf/tez/query61.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/query61.q.out b/ql/src/test/results/clientpositive/perf/tez/query61.q.out index dc18d84..0e3ebf7 100644 --- a/ql/src/test/results/clientpositive/perf/tez/query61.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/query61.q.out @@ -152,9 +152,9 @@ Stage-0 <-Reducer 3 [CUSTOM_SIMPLE_EDGE] PARTITION_ONLY_SHUFFLE [RS_42] Group By Operator [GBY_41] (rows=1 width=112) - Output:["_col0"],aggregations:["sum(_col9)"] + Output:["_col0"],aggregations:["sum(_col8)"] Merge Join Operator [MERGEJOIN_264] (rows=505397 width=0) - Conds:RS_37._col0=RS_38._col2(Inner),Output:["_col9"] + Conds:RS_37._col0=RS_38._col2(Inner),Output:["_col8"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_37] PartitionCols:_col0 @@ -172,7 +172,7 @@ Stage-0 <-Map 11 [SIMPLE_EDGE] vectorized SHUFFLE [RS_272] PartitionCols:_col0 - Select Operator [SEL_271] (rows=8000000 width=116) + Select Operator [SEL_271] (rows=8000000 width=4) Output:["_col0"] Filter Operator [FIL_270] (rows=8000000 width=112) predicate:((ca_gmt_offset = -7) and ca_address_sk is not null) @@ -186,7 +186,7 @@ Stage-0 <-Map 29 [SIMPLE_EDGE] vectorized SHUFFLE [RS_316] PartitionCols:_col0 - Select Operator [SEL_315] (rows=2300 width=259) + Select Operator [SEL_315] (rows=2300 width=4) Output:["_col0"] Filter Operator [FIL_314] (rows=2300 width=259) predicate:(((p_channel_dmail = 'Y') or (p_channel_email = 'Y') or (p_channel_tv = 'Y')) and p_promo_sk is not null) @@ -200,7 +200,7 @@ Stage-0 <-Map 26 [SIMPLE_EDGE] vectorized PARTITION_ONLY_SHUFFLE [RS_299] PartitionCols:_col0 - Select Operator [SEL_298] (rows=341 width=116) + Select Operator [SEL_298] (rows=341 width=4) Output:["_col0"] Filter Operator [FIL_297] (rows=341 width=115) predicate:((s_gmt_offset = -7) and s_store_sk is not null) @@ -214,7 +214,7 @@ Stage-0 <-Map 23 [SIMPLE_EDGE] vectorized PARTITION_ONLY_SHUFFLE [RS_287] PartitionCols:_col0 - Select Operator [SEL_286] (rows=46200 width=99) + Select Operator [SEL_286] (rows=46200 width=4) Output:["_col0"] Filter Operator [FIL_285] (rows=46200 width=94) predicate:((i_category = 'Electronics') and i_item_sk is not null) @@ -228,7 +228,7 @@ Stage-0 <-Map 17 [SIMPLE_EDGE] vectorized PARTITION_ONLY_SHUFFLE [RS_275] PartitionCols:_col0 - Select Operator [SEL_274] (rows=50 width=12) + Select Operator [SEL_274] (rows=50 width=4) Output:["_col0"] Filter Operator [FIL_273] (rows=50 width=12) predicate:((d_moy = 11) and (d_year = 1999) and d_date_sk is not null) @@ -294,9 +294,9 @@ Stage-0 <-Reducer 8 [CUSTOM_SIMPLE_EDGE] PARTITION_ONLY_SHUFFLE [RS_81] Group By Operator [GBY_80] (rows=1 width=112) - Output:["_col0"],aggregations:["sum(_col8)"] + Output:["_col0"],aggregations:["sum(_col7)"] Merge Join Operator [MERGEJOIN_265] (rows=529208 width=0) - Conds:RS_76._col0=RS_77._col2(Inner),Output:["_col8"] + Conds:RS_76._col0=RS_77._col2(Inner),Output:["_col7"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_76] PartitionCols:_col0 http://git-wip-us.apache.org/repos/asf/hive/blob/55887646/ql/src/test/results/clientpositive/perf/tez/query63.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/query63.q.out b/ql/src/test/results/clientpositive/perf/tez/query63.q.out index 2b6b4d2..c01ba03 100644 --- a/ql/src/test/results/clientpositive/perf/tez/query63.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/query63.q.out @@ -104,9 +104,9 @@ Stage-0 SHUFFLE [RS_23] PartitionCols:_col0 Group By Operator [GBY_22] (rows=130 width=120) - Output:["_col0","_col1","_col2"],aggregations:["sum(_col3)"],keys:_col8, _col11 + Output:["_col0","_col1","_col2"],aggregations:["sum(_col3)"],keys:_col5, _col7 Merge Join Operator [MERGEJOIN_84] (rows=98800 width=8) - Conds:RS_18._col2=RS_106._col0(Inner),Output:["_col3","_col8","_col11"] + Conds:RS_18._col2=RS_106._col0(Inner),Output:["_col3","_col5","_col7"] <-Map 11 [SIMPLE_EDGE] vectorized SHUFFLE [RS_106] PartitionCols:_col0 @@ -120,12 +120,12 @@ Stage-0 SHUFFLE [RS_18] PartitionCols:_col2 Merge Join Operator [MERGEJOIN_83] (rows=98800 width=8) - Conds:RS_15._col0=RS_95._col0(Inner),Output:["_col2","_col3","_col8","_col11"] + Conds:RS_15._col0=RS_95._col0(Inner),Output:["_col2","_col3","_col5","_col7"] <-Map 9 [SIMPLE_EDGE] vectorized SHUFFLE [RS_95] PartitionCols:_col0 - Select Operator [SEL_94] (rows=317 width=12) - Output:["_col0","_col2"] + Select Operator [SEL_94] (rows=317 width=8) + Output:["_col0","_col1"] Filter Operator [FIL_93] (rows=317 width=12) predicate:((d_month_seq) IN (1212, 1213, 1214, 1215, 1216, 1217, 1218, 1219, 1220, 1221, 1222, 1223) and d_date_sk is not null) TableScan [TS_6] (rows=73049 width=12) @@ -134,12 +134,12 @@ Stage-0 SHUFFLE [RS_15] PartitionCols:_col0 Merge Join Operator [MERGEJOIN_82] (rows=569118 width=4) - Conds:RS_103._col1=RS_87._col0(Inner),Output:["_col0","_col2","_col3","_col8"] + Conds:RS_103._col1=RS_87._col0(Inner),Output:["_col0","_col2","_col3","_col5"] <-Map 7 [SIMPLE_EDGE] vectorized PARTITION_ONLY_SHUFFLE [RS_87] PartitionCols:_col0 - Select Operator [SEL_86] (rows=52 width=290) - Output:["_col0","_col4"] + Select Operator [SEL_86] (rows=52 width=8) + Output:["_col0","_col1"] Filter Operator [FIL_85] (rows=52 width=290) predicate:((((i_category) IN ('Books', 'Children', 'Electronics') and (i_class) IN ('personal', 'portable', 'refernece', 'self-help') and (i_brand) IN ('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9')) or ((i_category) IN ('Women', 'Music', 'Men') and (i_class) IN ('accessories', 'classical', 'fragrances', 'pants') and (i_brand) IN ('amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1'))) and (i_brand) IN ('scholaramalgamalg #14', 'scholaramalgamalg #7', 'exportiunivamalg #9', 'scholaramalgamalg #9', 'amalgimporto #1', 'edu packscholar #1', 'exportiimporto #1', 'importoamalg #1') and (i_category) IN ('Books', 'Children', 'Electronics', 'Women', 'Music', 'Men') and (i_class) IN ('personal', 'portable', 'refernece', 'self-help', 'accessories', 'classical', 'fragrances', 'pants') and i_item_sk is not null) TableScan [TS_3] (rows=462000 width=289)
