http://git-wip-us.apache.org/repos/asf/hive/blob/5553c59e/ql/src/test/results/clientpositive/perf/tez/constraints/query46.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/constraints/query46.q.out b/ql/src/test/results/clientpositive/perf/tez/constraints/query46.q.out index 5d25eaf..72a6b26 100644 --- a/ql/src/test/results/clientpositive/perf/tez/constraints/query46.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/constraints/query46.q.out @@ -83,158 +83,158 @@ POSTHOOK: Output: hdfs://### HDFS PATH ### Plan optimized by CBO. Vertex dependency in root stage -Map 8 <- Reducer 13 (BROADCAST_EDGE), Reducer 15 (BROADCAST_EDGE), Reducer 17 (BROADCAST_EDGE) -Reducer 10 <- Map 14 (SIMPLE_EDGE), Reducer 9 (SIMPLE_EDGE) -Reducer 11 <- Map 16 (SIMPLE_EDGE), Reducer 10 (SIMPLE_EDGE) -Reducer 13 <- Map 12 (CUSTOM_SIMPLE_EDGE) -Reducer 15 <- Map 14 (CUSTOM_SIMPLE_EDGE) -Reducer 17 <- Map 16 (CUSTOM_SIMPLE_EDGE) -Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 5 (SIMPLE_EDGE) -Reducer 3 <- Reducer 2 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE) +Map 5 <- Reducer 12 (BROADCAST_EDGE), Reducer 14 (BROADCAST_EDGE), Reducer 16 (BROADCAST_EDGE) +Reducer 10 <- Reducer 9 (SIMPLE_EDGE) +Reducer 12 <- Map 11 (CUSTOM_SIMPLE_EDGE) +Reducer 14 <- Map 13 (CUSTOM_SIMPLE_EDGE) +Reducer 16 <- Map 15 (CUSTOM_SIMPLE_EDGE) +Reducer 2 <- Map 1 (SIMPLE_EDGE), Reducer 10 (SIMPLE_EDGE) +Reducer 3 <- Map 17 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE) Reducer 4 <- Reducer 3 (SIMPLE_EDGE) -Reducer 6 <- Map 5 (SIMPLE_EDGE), Reducer 11 (SIMPLE_EDGE) -Reducer 7 <- Reducer 6 (SIMPLE_EDGE) -Reducer 9 <- Map 12 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE) +Reducer 6 <- Map 11 (SIMPLE_EDGE), Map 5 (SIMPLE_EDGE) +Reducer 7 <- Map 13 (SIMPLE_EDGE), Reducer 6 (SIMPLE_EDGE) +Reducer 8 <- Map 15 (SIMPLE_EDGE), Reducer 7 (SIMPLE_EDGE) +Reducer 9 <- Map 17 (SIMPLE_EDGE), Reducer 8 (SIMPLE_EDGE) Stage-0 Fetch Operator limit:100 Stage-1 Reducer 4 vectorized - File Output Operator [FS_182] - Limit [LIM_181] (rows=100 width=594) + File Output Operator [FS_186] + Limit [LIM_185] (rows=100 width=594) Number of rows:100 - Select Operator [SEL_180] (rows=8380115 width=594) + Select Operator [SEL_184] (rows=8380115 width=594) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"] <-Reducer 3 [SIMPLE_EDGE] SHUFFLE [RS_44] Select Operator [SEL_43] (rows=8380115 width=594) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"] Filter Operator [FIL_42] (rows=8380115 width=594) - predicate:(_col5 <> _col8) - Merge Join Operator [MERGEJOIN_143] (rows=8380115 width=594) - Conds:RS_39._col0=RS_179._col1(Inner),Output:["_col2","_col3","_col5","_col6","_col8","_col9","_col10"] + predicate:(_col10 <> _col6) + Merge Join Operator [MERGEJOIN_147] (rows=8380115 width=594) + Conds:RS_39._col1=RS_179._col0(Inner),Output:["_col2","_col3","_col4","_col6","_col7","_col8","_col10"] + <-Map 17 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_179] + PartitionCols:_col0 + Select Operator [SEL_178] (rows=40000000 width=97) + Output:["_col0","_col1"] + TableScan [TS_34] (rows=40000000 width=97) + default@customer_address,current_addr,Tbl:COMPLETE,Col:COMPLETE,Output:["ca_address_sk","ca_city"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_39] - PartitionCols:_col0 - Merge Join Operator [MERGEJOIN_138] (rows=80000000 width=277) - Conds:RS_146._col1=RS_148._col0(Inner),Output:["_col0","_col2","_col3","_col5"] - <-Map 5 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_148] - PartitionCols:_col0 - Select Operator [SEL_147] (rows=40000000 width=97) - Output:["_col0","_col1"] - TableScan [TS_3] (rows=40000000 width=97) - default@customer_address,current_addr,Tbl:COMPLETE,Col:COMPLETE,Output:["ca_address_sk","ca_city"] + PartitionCols:_col1 + Merge Join Operator [MERGEJOIN_146] (rows=8380115 width=505) + Conds:RS_150._col0=RS_183._col1(Inner),Output:["_col1","_col2","_col3","_col4","_col6","_col7","_col8"] <-Map 1 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_146] - PartitionCols:_col1 - Select Operator [SEL_145] (rows=80000000 width=188) + SHUFFLE [RS_150] + PartitionCols:_col0 + Select Operator [SEL_149] (rows=80000000 width=188) Output:["_col0","_col1","_col2","_col3"] - Filter Operator [FIL_144] (rows=80000000 width=188) + Filter Operator [FIL_148] (rows=80000000 width=188) predicate:c_current_addr_sk is not null TableScan [TS_0] (rows=80000000 width=188) default@customer,customer,Tbl:COMPLETE,Col:COMPLETE,Output:["c_customer_sk","c_current_addr_sk","c_first_name","c_last_name"] - <-Reducer 7 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_179] - PartitionCols:_col1 - Select Operator [SEL_178] (rows=8380115 width=321) - Output:["_col0","_col1","_col2","_col3","_col4"] - Group By Operator [GBY_177] (rows=8380115 width=321) - Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3 - <-Reducer 6 [SIMPLE_EDGE] - SHUFFLE [RS_33] - PartitionCols:_col0, _col1, _col2, _col3 - Group By Operator [GBY_32] (rows=8380115 width=321) - Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col6)","sum(_col7)"],keys:_col1, _col12, _col3, _col5 - Merge Join Operator [MERGEJOIN_142] (rows=8380115 width=97) - Conds:RS_28._col3=RS_149._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col7","_col12"] - <-Map 5 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_149] - PartitionCols:_col0 - Please refer to the previous Select Operator [SEL_147] - <-Reducer 11 [SIMPLE_EDGE] - SHUFFLE [RS_28] - PartitionCols:_col3 - Merge Join Operator [MERGEJOIN_141] (rows=8380115 width=4) - Conds:RS_25._col2=RS_168._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col7"] - <-Map 16 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_168] + <-Reducer 10 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_183] + PartitionCols:_col1 + Select Operator [SEL_182] (rows=8380115 width=321) + Output:["_col0","_col1","_col2","_col3","_col4"] + Group By Operator [GBY_181] (rows=8380115 width=321) + Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3 + <-Reducer 9 [SIMPLE_EDGE] + SHUFFLE [RS_31] + PartitionCols:_col0, _col1, _col2, _col3 + Group By Operator [GBY_30] (rows=8380115 width=321) + Output:["_col0","_col1","_col2","_col3","_col4","_col5"],aggregations:["sum(_col6)","sum(_col7)"],keys:_col1, _col12, _col3, _col5 + Merge Join Operator [MERGEJOIN_145] (rows=8380115 width=97) + Conds:RS_26._col3=RS_180._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col7","_col12"] + <-Map 17 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_180] PartitionCols:_col0 - Select Operator [SEL_167] (rows=1855 width=4) - Output:["_col0"] - Filter Operator [FIL_166] (rows=1855 width=12) - predicate:((hd_dep_count = 2) or (hd_vehicle_count = 1)) - TableScan [TS_14] (rows=7200 width=12) - default@household_demographics,household_demographics,Tbl:COMPLETE,Col:COMPLETE,Output:["hd_demo_sk","hd_dep_count","hd_vehicle_count"] - <-Reducer 10 [SIMPLE_EDGE] - SHUFFLE [RS_25] - PartitionCols:_col2 - Merge Join Operator [MERGEJOIN_140] (rows=32526589 width=90) - Conds:RS_22._col4=RS_160._col0(Inner),Output:["_col1","_col2","_col3","_col5","_col6","_col7"] - <-Map 14 [SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_160] + Please refer to the previous Select Operator [SEL_178] + <-Reducer 8 [SIMPLE_EDGE] + SHUFFLE [RS_26] + PartitionCols:_col3 + Merge Join Operator [MERGEJOIN_144] (rows=8380115 width=4) + Conds:RS_23._col2=RS_169._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col7"] + <-Map 15 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_169] PartitionCols:_col0 - Select Operator [SEL_159] (rows=35 width=4) + Select Operator [SEL_168] (rows=1855 width=4) Output:["_col0"] - Filter Operator [FIL_158] (rows=35 width=97) - predicate:(s_city) IN ('Cedar Grove', 'Wildwood', 'Union', 'Salem', 'Highland Park') - TableScan [TS_11] (rows=1704 width=97) - default@store,store,Tbl:COMPLETE,Col:COMPLETE,Output:["s_store_sk","s_city"] - <-Reducer 9 [SIMPLE_EDGE] - SHUFFLE [RS_22] - PartitionCols:_col4 - Merge Join Operator [MERGEJOIN_139] (rows=196204013 width=218) - Conds:RS_176._col0=RS_152._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col7"] - <-Map 12 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_152] + Filter Operator [FIL_167] (rows=1855 width=12) + predicate:((hd_dep_count = 2) or (hd_vehicle_count = 1)) + TableScan [TS_12] (rows=7200 width=12) + default@household_demographics,household_demographics,Tbl:COMPLETE,Col:COMPLETE,Output:["hd_demo_sk","hd_dep_count","hd_vehicle_count"] + <-Reducer 7 [SIMPLE_EDGE] + SHUFFLE [RS_23] + PartitionCols:_col2 + Merge Join Operator [MERGEJOIN_143] (rows=32526589 width=90) + Conds:RS_20._col4=RS_161._col0(Inner),Output:["_col1","_col2","_col3","_col5","_col6","_col7"] + <-Map 13 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_161] PartitionCols:_col0 - Select Operator [SEL_151] (rows=783 width=4) + Select Operator [SEL_160] (rows=35 width=4) Output:["_col0"] - Filter Operator [FIL_150] (rows=783 width=12) - predicate:((d_dow) IN (6, 0) and (d_year) IN (1998, 1999, 2000)) - TableScan [TS_8] (rows=73049 width=12) - default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year","d_dow"] - <-Map 8 [SIMPLE_EDGE] vectorized - SHUFFLE [RS_176] - PartitionCols:_col0 - Select Operator [SEL_175] (rows=457565061 width=237) - Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] - Filter Operator [FIL_174] (rows=457565061 width=237) - predicate:((ss_hdemo_sk BETWEEN DynamicValue(RS_26_household_demographics_hd_demo_sk_min) AND DynamicValue(RS_26_household_demographics_hd_demo_sk_max) and in_bloom_filter(ss_hdemo_sk, DynamicValue(RS_26_household_demographics_hd_demo_sk_bloom_filter))) and (ss_sold_date_sk BETWEEN DynamicValue(RS_20_date_dim_d_date_sk_min) AND DynamicValue(RS_20_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_20_date_dim_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN DynamicValue(RS_23_store_s_store_sk_min) AND DynamicValue(RS_23_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, DynamicValue(RS_23_store_s_store_sk_bloom_filter))) and ss_addr_sk is not null and ss_customer_sk is not null and ss_hdemo_sk is not null and ss_sold_date_sk is not null and ss_store_sk is not null) - TableScan [TS_5] (rows=575995635 width=237) - default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_customer_sk","ss_hdemo_sk","ss_addr_sk","ss_store_sk","ss_ticket_number","ss_coupon_amt","ss_net_profit"] - <-Reducer 13 [BROADCAST_EDGE] vectorized - BROADCAST [RS_157] - Group By Operator [GBY_156] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 12 [CUSTOM_SIMPLE_EDGE] vectorized - SHUFFLE [RS_155] - Group By Operator [GBY_154] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_153] (rows=783 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_151] - <-Reducer 15 [BROADCAST_EDGE] vectorized - BROADCAST [RS_165] - Group By Operator [GBY_164] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 14 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_163] - Group By Operator [GBY_162] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_161] (rows=35 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_159] - <-Reducer 17 [BROADCAST_EDGE] vectorized - BROADCAST [RS_173] - Group By Operator [GBY_172] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] - <-Map 16 [CUSTOM_SIMPLE_EDGE] vectorized - PARTITION_ONLY_SHUFFLE [RS_171] - Group By Operator [GBY_170] (rows=1 width=12) - Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] - Select Operator [SEL_169] (rows=1855 width=4) - Output:["_col0"] - Please refer to the previous Select Operator [SEL_167] + Filter Operator [FIL_159] (rows=35 width=97) + predicate:(s_city) IN ('Cedar Grove', 'Wildwood', 'Union', 'Salem', 'Highland Park') + TableScan [TS_9] (rows=1704 width=97) + default@store,store,Tbl:COMPLETE,Col:COMPLETE,Output:["s_store_sk","s_city"] + <-Reducer 6 [SIMPLE_EDGE] + SHUFFLE [RS_20] + PartitionCols:_col4 + Merge Join Operator [MERGEJOIN_142] (rows=196204013 width=218) + Conds:RS_177._col0=RS_153._col0(Inner),Output:["_col1","_col2","_col3","_col4","_col5","_col6","_col7"] + <-Map 11 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_153] + PartitionCols:_col0 + Select Operator [SEL_152] (rows=783 width=4) + Output:["_col0"] + Filter Operator [FIL_151] (rows=783 width=12) + predicate:((d_dow) IN (6, 0) and (d_year) IN (1998, 1999, 2000)) + TableScan [TS_6] (rows=73049 width=12) + default@date_dim,date_dim,Tbl:COMPLETE,Col:COMPLETE,Output:["d_date_sk","d_year","d_dow"] + <-Map 5 [SIMPLE_EDGE] vectorized + SHUFFLE [RS_177] + PartitionCols:_col0 + Select Operator [SEL_176] (rows=457565061 width=237) + Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] + Filter Operator [FIL_175] (rows=457565061 width=237) + predicate:((ss_hdemo_sk BETWEEN DynamicValue(RS_24_household_demographics_hd_demo_sk_min) AND DynamicValue(RS_24_household_demographics_hd_demo_sk_max) and in_bloom_filter(ss_hdemo_sk, DynamicValue(RS_24_household_demographics_hd_demo_sk_bloom_filter))) and (ss_sold_date_sk BETWEEN DynamicValue(RS_18_date_dim_d_date_sk_min) AND DynamicValue(RS_18_date_dim_d_date_sk_max) and in_bloom_filter(ss_sold_date_sk, DynamicValue(RS_18_date_dim_d_date_sk_bloom_filter))) and (ss_store_sk BETWEEN DynamicValue(RS_21_store_s_store_sk_min) AND DynamicValue(RS_21_store_s_store_sk_max) and in_bloom_filter(ss_store_sk, DynamicValue(RS_21_store_s_store_sk_bloom_filter))) and ss_addr_sk is not null and ss_customer_sk is not null and ss_hdemo_sk is not null and ss_sold_date_sk is not null and ss_store_sk is not null) + TableScan [TS_3] (rows=575995635 width=237) + default@store_sales,store_sales,Tbl:COMPLETE,Col:COMPLETE,Output:["ss_sold_date_sk","ss_customer_sk","ss_hdemo_sk","ss_addr_sk","ss_store_sk","ss_ticket_number","ss_coupon_amt","ss_net_profit"] + <-Reducer 12 [BROADCAST_EDGE] vectorized + BROADCAST [RS_158] + Group By Operator [GBY_157] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 11 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_156] + Group By Operator [GBY_155] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_154] (rows=783 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_152] + <-Reducer 14 [BROADCAST_EDGE] vectorized + BROADCAST [RS_166] + Group By Operator [GBY_165] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 13 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_164] + Group By Operator [GBY_163] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_162] (rows=35 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_160] + <-Reducer 16 [BROADCAST_EDGE] vectorized + BROADCAST [RS_174] + Group By Operator [GBY_173] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(VALUE._col0)","max(VALUE._col1)","bloom_filter(VALUE._col2, expectedEntries=1000000)"] + <-Map 15 [CUSTOM_SIMPLE_EDGE] vectorized + SHUFFLE [RS_172] + Group By Operator [GBY_171] (rows=1 width=12) + Output:["_col0","_col1","_col2"],aggregations:["min(_col0)","max(_col0)","bloom_filter(_col0, expectedEntries=1000000)"] + Select Operator [SEL_170] (rows=1855 width=4) + Output:["_col0"] + Please refer to the previous Select Operator [SEL_168]
http://git-wip-us.apache.org/repos/asf/hive/blob/5553c59e/ql/src/test/results/clientpositive/perf/tez/constraints/query47.q.out ---------------------------------------------------------------------- diff --git a/ql/src/test/results/clientpositive/perf/tez/constraints/query47.q.out b/ql/src/test/results/clientpositive/perf/tez/constraints/query47.q.out index e905b1178..efb3edd 100644 --- a/ql/src/test/results/clientpositive/perf/tez/constraints/query47.q.out +++ b/ql/src/test/results/clientpositive/perf/tez/constraints/query47.q.out @@ -148,47 +148,47 @@ Stage-0 Filter Operator [FIL_302] (rows=162257387 width=489) predicate:rank_window_0 is not null PTF Operator [PTF_300] (rows=162257387 width=489) - Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col2 ASC NULLS LAST, _col3 ASC NULLS LAST","partition by:":"_col1, _col0, _col4, _col5"}] + Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col0 ASC NULLS LAST, _col1 ASC NULLS LAST","partition by:":"_col5, _col4, _col2, _col3"}] Select Operator [SEL_299] (rows=162257387 width=489) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"] <-Reducer 5 [SIMPLE_EDGE] vectorized SHUFFLE [RS_297] - PartitionCols:_col1, _col0, _col4, _col5 + PartitionCols:_col5, _col4, _col2, _col3 Group By Operator [GBY_296] (rows=162257387 width=489) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1, KEY._col2, KEY._col3, KEY._col4, KEY._col5 <-Reducer 4 [SIMPLE_EDGE] SHUFFLE [RS_93] PartitionCols:_col0, _col1, _col2, _col3, _col4, _col5 Group By Operator [GBY_92] (rows=162257387 width=489) - Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col3)"],keys:_col8, _col9, _col5, _col6, _col11, _col12 + Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"],aggregations:["sum(_col3)"],keys:_col5, _col6, _col8, _col9, _col11, _col12 Merge Join Operator [MERGEJOIN_276] (rows=162257387 width=472) - Conds:RS_88._col2=RS_295._col0(Inner),Output:["_col3","_col5","_col6","_col8","_col9","_col11","_col12"] + Conds:RS_88._col1=RS_295._col0(Inner),Output:["_col3","_col5","_col6","_col8","_col9","_col11","_col12"] <-Map 15 [SIMPLE_EDGE] vectorized SHUFFLE [RS_295] PartitionCols:_col0 - Select Operator [SEL_294] (rows=1704 width=183) + Select Operator [SEL_294] (rows=462000 width=194) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_293] (rows=1704 width=183) - predicate:(s_company_name is not null and s_store_name is not null) - TableScan [TS_79] (rows=1704 width=183) - default@store,store,Tbl:COMPLETE,Col:COMPLETE,Output:["s_store_sk","s_store_name","s_company_name"] + Filter Operator [FIL_293] (rows=462000 width=194) + predicate:(i_brand is not null and i_category is not null) + TableScan [TS_79] (rows=462000 width=194) + default@item,item,Tbl:COMPLETE,Col:COMPLETE,Output:["i_item_sk","i_brand","i_category"] <-Reducer 3 [SIMPLE_EDGE] SHUFFLE [RS_88] - PartitionCols:_col2 - Merge Join Operator [MERGEJOIN_275] (rows=162257387 width=297) - Conds:RS_85._col1=RS_292._col0(Inner),Output:["_col2","_col3","_col5","_col6","_col8","_col9"] + PartitionCols:_col1 + Merge Join Operator [MERGEJOIN_275] (rows=162257387 width=286) + Conds:RS_85._col2=RS_292._col0(Inner),Output:["_col1","_col3","_col5","_col6","_col8","_col9"] <-Map 14 [SIMPLE_EDGE] vectorized SHUFFLE [RS_292] PartitionCols:_col0 - Select Operator [SEL_291] (rows=462000 width=194) + Select Operator [SEL_291] (rows=1704 width=183) Output:["_col0","_col1","_col2"] - Filter Operator [FIL_290] (rows=462000 width=194) - predicate:(i_brand is not null and i_category is not null) - TableScan [TS_76] (rows=462000 width=194) - default@item,item,Tbl:COMPLETE,Col:COMPLETE,Output:["i_item_sk","i_brand","i_category"] + Filter Operator [FIL_290] (rows=1704 width=183) + predicate:(s_company_name is not null and s_store_name is not null) + TableScan [TS_76] (rows=1704 width=183) + default@store,store,Tbl:COMPLETE,Col:COMPLETE,Output:["s_store_sk","s_store_name","s_company_name"] <-Reducer 2 [SIMPLE_EDGE] SHUFFLE [RS_85] - PartitionCols:_col1 + PartitionCols:_col2 Merge Join Operator [MERGEJOIN_274] (rows=162257387 width=111) Conds:RS_289._col0=RS_281._col0(Inner),Output:["_col1","_col2","_col3","_col5","_col6"] <-Map 12 [SIMPLE_EDGE] vectorized @@ -233,7 +233,7 @@ Stage-0 Filter Operator [FIL_303] (rows=162257387 width=489) predicate:rank_window_0 is not null PTF Operator [PTF_301] (rows=162257387 width=489) - Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col2 ASC NULLS LAST, _col3 ASC NULLS LAST","partition by:":"_col1, _col0, _col4, _col5"}] + Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col0 ASC NULLS LAST, _col1 ASC NULLS LAST","partition by:":"_col5, _col4, _col2, _col3"}] Please refer to the previous Select Operator [SEL_299] <-Reducer 11 [SIMPLE_EDGE] vectorized SHUFFLE [RS_318] @@ -245,22 +245,22 @@ Stage-0 Select Operator [SEL_315] (rows=482909 width=601) Output:["rank_window_1","_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] Filter Operator [FIL_314] (rows=482909 width=601) - predicate:((_col0 > 0) and (_col3 = 2000) and rank_window_1 is not null) + predicate:((_col0 > 0) and (_col1 = 2000) and rank_window_1 is not null) PTF Operator [PTF_313] (rows=162257387 width=601) - Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col3 ASC NULLS LAST, _col4 ASC NULLS LAST","partition by:":"_col2, _col1, _col5, _col6"}] + Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 ASC NULLS LAST, _col2 ASC NULLS LAST","partition by:":"_col6, _col5, _col3, _col4"}] Select Operator [SEL_312] (rows=162257387 width=601) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7"] <-Reducer 10 [SIMPLE_EDGE] vectorized SHUFFLE [RS_311] - PartitionCols:_col1, _col0, _col4, _col5 + PartitionCols:_col5, _col4, _col2, _col3 Select Operator [SEL_310] (rows=162257387 width=489) Output:["avg_window_0","_col0","_col1","_col2","_col3","_col4","_col5","_col6"] PTF Operator [PTF_309] (rows=162257387 width=489) - Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col1 ASC NULLS FIRST, _col0 ASC NULLS FIRST, _col4 ASC NULLS FIRST, _col5 ASC NULLS FIRST, _col2 ASC NULLS FIRST","partition by:":"_col1, _col0, _col4, _col5, _col2"}] + Function definitions:[{},{"name:":"windowingtablefunction","order by:":"_col5 ASC NULLS FIRST, _col4 ASC NULLS FIRST, _col2 ASC NULLS FIRST, _col3 ASC NULLS FIRST, _col0 ASC NULLS FIRST","partition by:":"_col5, _col4, _col2, _col3, _col0"}] Select Operator [SEL_308] (rows=162257387 width=489) Output:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"] <-Reducer 5 [SIMPLE_EDGE] vectorized SHUFFLE [RS_298] - PartitionCols:_col1, _col0, _col4, _col5, _col2 + PartitionCols:_col5, _col4, _col2, _col3, _col0 Please refer to the previous Group By Operator [GBY_296]