http://git-wip-us.apache.org/repos/asf/hive/blob/09b6f9a3/ql/src/test/results/clientpositive/perf/query75.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query75.q.out 
b/ql/src/test/results/clientpositive/perf/query75.q.out
new file mode 100644
index 0000000..70a1649
--- /dev/null
+++ b/ql/src/test/results/clientpositive/perf/query75.q.out
@@ -0,0 +1,719 @@
+PREHOOK: query: explain WITH all_sales AS ( SELECT d_year ,i_brand_id 
,i_class_id ,i_category_id ,i_manufact_id ,SUM(sales_cnt) AS sales_cnt 
,SUM(sales_amt) AS sales_amt FROM (SELECT d_year ,i_brand_id ,i_class_id 
,i_category_id ,i_manufact_id ,cs_quantity - COALESCE(cr_return_quantity,0) AS 
sales_cnt ,cs_ext_sales_price - COALESCE(cr_return_amount,0.0) AS sales_amt 
FROM catalog_sales JOIN item ON i_item_sk=cs_item_sk JOIN date_dim ON 
d_date_sk=cs_sold_date_sk LEFT JOIN catalog_returns ON 
(cs_order_number=cr_order_number AND cs_item_sk=cr_item_sk) WHERE 
i_category='Sports' UNION ALL SELECT d_year ,i_brand_id ,i_class_id 
,i_category_id ,i_manufact_id ,ss_quantity - COALESCE(sr_return_quantity,0) AS 
sales_cnt ,ss_ext_sales_price - COALESCE(sr_return_amt,0.0) AS sales_amt FROM 
store_sales JOIN item ON i_item_sk=ss_item_sk JOIN date_dim ON 
d_date_sk=ss_sold_date_sk LEFT JOIN store_returns ON 
(ss_ticket_number=sr_ticket_number AND ss_item_sk=sr_item_sk) WHERE 
i_category='Sports' UNION AL
 L SELECT d_year ,i_brand_id ,i_class_id ,i_category_id ,i_manufact_id 
,ws_quantity - COALESCE(wr_return_quantity,0) AS sales_cnt ,ws_ext_sales_price 
- COALESCE(wr_return_amt,0.0) AS sales_amt FROM web_sales JOIN item ON 
i_item_sk=ws_item_sk JOIN date_dim ON d_date_sk=ws_sold_date_sk LEFT JOIN 
web_returns ON (ws_order_number=wr_order_number AND ws_item_sk=wr_item_sk) 
WHERE i_category='Sports') sales_detail GROUP BY d_year, i_brand_id, 
i_class_id, i_category_id, i_manufact_id) SELECT prev_yr.d_year AS prev_year 
,curr_yr.d_year AS year ,curr_yr.i_brand_id ,curr_yr.i_class_id 
,curr_yr.i_category_id ,curr_yr.i_manufact_id ,prev_yr.sales_cnt AS prev_yr_cnt 
,curr_yr.sales_cnt AS curr_yr_cnt ,curr_yr.sales_cnt-prev_yr.sales_cnt AS 
sales_cnt_diff ,curr_yr.sales_amt-prev_yr.sales_amt AS sales_amt_diff FROM 
all_sales curr_yr, all_sales prev_yr WHERE 
curr_yr.i_brand_id=prev_yr.i_brand_id AND curr_yr.i_class_id=prev_yr.i_class_id 
AND curr_yr.i_category_id=prev_yr.i_category_id AND curr_yr.i_manu
 fact_id=prev_yr.i_manufact_id AND curr_yr.d_year=2002 AND 
prev_yr.d_year=2002-1 AND CAST(curr_yr.sales_cnt AS 
DECIMAL(17,2))/CAST(prev_yr.sales_cnt AS DECIMAL(17,2))<0.9 ORDER BY 
sales_cnt_diff limit 100
+PREHOOK: type: QUERY
+POSTHOOK: query: explain WITH all_sales AS ( SELECT d_year ,i_brand_id 
,i_class_id ,i_category_id ,i_manufact_id ,SUM(sales_cnt) AS sales_cnt 
,SUM(sales_amt) AS sales_amt FROM (SELECT d_year ,i_brand_id ,i_class_id 
,i_category_id ,i_manufact_id ,cs_quantity - COALESCE(cr_return_quantity,0) AS 
sales_cnt ,cs_ext_sales_price - COALESCE(cr_return_amount,0.0) AS sales_amt 
FROM catalog_sales JOIN item ON i_item_sk=cs_item_sk JOIN date_dim ON 
d_date_sk=cs_sold_date_sk LEFT JOIN catalog_returns ON 
(cs_order_number=cr_order_number AND cs_item_sk=cr_item_sk) WHERE 
i_category='Sports' UNION ALL SELECT d_year ,i_brand_id ,i_class_id 
,i_category_id ,i_manufact_id ,ss_quantity - COALESCE(sr_return_quantity,0) AS 
sales_cnt ,ss_ext_sales_price - COALESCE(sr_return_amt,0.0) AS sales_amt FROM 
store_sales JOIN item ON i_item_sk=ss_item_sk JOIN date_dim ON 
d_date_sk=ss_sold_date_sk LEFT JOIN store_returns ON 
(ss_ticket_number=sr_ticket_number AND ss_item_sk=sr_item_sk) WHERE 
i_category='Sports' UNION A
 LL SELECT d_year ,i_brand_id ,i_class_id ,i_category_id ,i_manufact_id 
,ws_quantity - COALESCE(wr_return_quantity,0) AS sales_cnt ,ws_ext_sales_price 
- COALESCE(wr_return_amt,0.0) AS sales_amt FROM web_sales JOIN item ON 
i_item_sk=ws_item_sk JOIN date_dim ON d_date_sk=ws_sold_date_sk LEFT JOIN 
web_returns ON (ws_order_number=wr_order_number AND ws_item_sk=wr_item_sk) 
WHERE i_category='Sports') sales_detail GROUP BY d_year, i_brand_id, 
i_class_id, i_category_id, i_manufact_id) SELECT prev_yr.d_year AS prev_year 
,curr_yr.d_year AS year ,curr_yr.i_brand_id ,curr_yr.i_class_id 
,curr_yr.i_category_id ,curr_yr.i_manufact_id ,prev_yr.sales_cnt AS prev_yr_cnt 
,curr_yr.sales_cnt AS curr_yr_cnt ,curr_yr.sales_cnt-prev_yr.sales_cnt AS 
sales_cnt_diff ,curr_yr.sales_amt-prev_yr.sales_amt AS sales_amt_diff FROM 
all_sales curr_yr, all_sales prev_yr WHERE 
curr_yr.i_brand_id=prev_yr.i_brand_id AND curr_yr.i_class_id=prev_yr.i_class_id 
AND curr_yr.i_category_id=prev_yr.i_category_id AND curr_yr.i_man
 ufact_id=prev_yr.i_manufact_id AND curr_yr.d_year=2002 AND 
prev_yr.d_year=2002-1 AND CAST(curr_yr.sales_cnt AS 
DECIMAL(17,2))/CAST(prev_yr.sales_cnt AS DECIMAL(17,2))<0.9 ORDER BY 
sales_cnt_diff limit 100
+POSTHOOK: type: QUERY
+Plan optimized by CBO.
+
+Vertex dependency in root stage
+Reducer 13 <- Map 12 (SIMPLE_EDGE), Map 16 (SIMPLE_EDGE)
+Reducer 14 <- Map 17 (SIMPLE_EDGE), Reducer 13 (SIMPLE_EDGE)
+Reducer 15 <- Map 18 (SIMPLE_EDGE), Reducer 14 (SIMPLE_EDGE), Union 5 
(CONTAINS)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 9 (SIMPLE_EDGE)
+Reducer 20 <- Map 19 (SIMPLE_EDGE), Map 23 (SIMPLE_EDGE)
+Reducer 21 <- Map 24 (SIMPLE_EDGE), Reducer 20 (SIMPLE_EDGE)
+Reducer 22 <- Map 25 (SIMPLE_EDGE), Reducer 21 (SIMPLE_EDGE), Union 5 
(CONTAINS)
+Reducer 27 <- Map 26 (SIMPLE_EDGE), Map 32 (SIMPLE_EDGE)
+Reducer 28 <- Map 33 (SIMPLE_EDGE), Reducer 27 (SIMPLE_EDGE)
+Reducer 29 <- Map 34 (SIMPLE_EDGE), Reducer 28 (SIMPLE_EDGE), Union 30 
(CONTAINS)
+Reducer 3 <- Map 10 (SIMPLE_EDGE), Reducer 2 (SIMPLE_EDGE)
+Reducer 31 <- Union 30 (SIMPLE_EDGE)
+Reducer 36 <- Map 35 (SIMPLE_EDGE), Map 39 (SIMPLE_EDGE)
+Reducer 37 <- Map 40 (SIMPLE_EDGE), Reducer 36 (SIMPLE_EDGE)
+Reducer 38 <- Map 41 (SIMPLE_EDGE), Reducer 37 (SIMPLE_EDGE), Union 30 
(CONTAINS)
+Reducer 4 <- Map 11 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE), Union 5 (CONTAINS)
+Reducer 43 <- Map 42 (SIMPLE_EDGE), Map 46 (SIMPLE_EDGE)
+Reducer 44 <- Map 47 (SIMPLE_EDGE), Reducer 43 (SIMPLE_EDGE)
+Reducer 45 <- Map 48 (SIMPLE_EDGE), Reducer 44 (SIMPLE_EDGE), Union 30 
(CONTAINS)
+Reducer 6 <- Union 5 (SIMPLE_EDGE)
+Reducer 7 <- Reducer 31 (SIMPLE_EDGE), Reducer 6 (SIMPLE_EDGE)
+Reducer 8 <- Reducer 7 (SIMPLE_EDGE)
+
+Stage-0
+   Fetch Operator
+      limit:100
+      Stage-1
+         Reducer 8
+         File Output Operator [FS_176]
+            compressed:false
+            Statistics:Num rows: 100 Data size: 143600 Basic stats: COMPLETE 
Column stats: NONE
+            table:{"input 
format:":"org.apache.hadoop.mapred.TextInputFormat","output 
format:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat","serde:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe"}
+            Limit [LIM_175]
+               Number of rows:100
+               Statistics:Num rows: 100 Data size: 143600 Basic stats: 
COMPLETE Column stats: NONE
+               Select Operator [SEL_174]
+               |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"]
+               |  Statistics:Num rows: 169103 Data size: 242878993 Basic 
stats: COMPLETE Column stats: NONE
+               |<-Reducer 7 [SIMPLE_EDGE]
+                  Reduce Output Operator [RS_173]
+                     key expressions:_col8 (type: bigint)
+                     sort order:+
+                     Statistics:Num rows: 169103 Data size: 242878993 Basic 
stats: COMPLETE Column stats: NONE
+                     value expressions:_col0 (type: int), _col1 (type: int), 
_col2 (type: int), _col3 (type: int), _col4 (type: int), _col5 (type: int), 
_col6 (type: bigint), _col7 (type: bigint), _col9 (type: double)
+                     Select Operator [SEL_172]
+                        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9"]
+                        Statistics:Num rows: 169103 Data size: 242878993 Basic 
stats: COMPLETE Column stats: NONE
+                        Filter Operator [FIL_237]
+                           predicate:((CAST( _col5 AS decimal(17,2)) / CAST( 
_col12 AS decimal(17,2))) < 0.9) (type: boolean)
+                           Statistics:Num rows: 169103 Data size: 242878993 
Basic stats: COMPLETE Column stats: NONE
+                           Merge Join Operator [MERGEJOIN_280]
+                           |  condition map:[{"":"Inner Join 0 to 1"}]
+                           |  keys:{"0":"_col1 (type: int), _col2 (type: int), 
_col3 (type: int), _col4 (type: int)","1":"_col1 (type: int), _col2 (type: 
int), _col3 (type: int), _col4 (type: int)"}
+                           |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col12","_col13"]
+                           |  Statistics:Num rows: 507310 Data size: 728638416 
Basic stats: COMPLETE Column stats: NONE
+                           |<-Reducer 31 [SIMPLE_EDGE]
+                           |  Reduce Output Operator [RS_169]
+                           |     key expressions:_col1 (type: int), _col2 
(type: int), _col3 (type: int), _col4 (type: int)
+                           |     Map-reduce partition columns:_col1 (type: 
int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                           |     sort order:++++
+                           |     Statistics:Num rows: 461191 Data size: 
662398546 Basic stats: COMPLETE Column stats: NONE
+                           |     value expressions:_col0 (type: int), _col5 
(type: bigint), _col6 (type: double)
+                           |     Group By Operator [GBY_164]
+                           |     |  
aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"]
+                           |     |  keys:KEY._col0 (type: int), KEY._col1 
(type: int), KEY._col2 (type: int), KEY._col3 (type: int), KEY._col4 (type: int)
+                           |     |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                           |     |  Statistics:Num rows: 461191 Data size: 
662398546 Basic stats: COMPLETE Column stats: NONE
+                           |     |<-Union 30 [SIMPLE_EDGE]
+                           |        |<-Reducer 29 [CONTAINS]
+                           |        |  Reduce Output Operator [RS_163]
+                           |        |     key expressions:_col0 (type: int), 
_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                           |        |     Map-reduce partition columns:_col0 
(type: int), _col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: int)
+                           |        |     sort order:+++++
+                           |        |     Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                           |        |     value expressions:_col5 (type: 
bigint), _col6 (type: double)
+                           |        |     Group By Operator [GBY_162]
+                           |        |        
aggregations:["sum(_col5)","sum(_col6)"]
+                           |        |        keys:_col0 (type: int), _col1 
(type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                           |        |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                           |        |        Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                           |        |        Select Operator [SEL_107]
+                           |        |           
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                           |        |           Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                           |        |           Merge Join Operator 
[MERGEJOIN_273]
+                           |        |           |  condition map:[{"":"Left 
Outer Join0 to 1"}]
+                           |        |           |  keys:{"0":"_col2 (type: 
int), _col1 (type: int)","1":"_col1 (type: int), _col0 (type: int)"}
+                           |        |           |  
outputColumnNames:["_col3","_col4","_col6","_col7","_col8","_col10","_col12","_col15","_col16"]
+                           |        |           |  Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                           |        |           |<-Map 34 [SIMPLE_EDGE]
+                           |        |           |  Reduce Output Operator 
[RS_105]
+                           |        |           |     key expressions:_col1 
(type: int), _col0 (type: int)
+                           |        |           |     Map-reduce partition 
columns:_col1 (type: int), _col0 (type: int)
+                           |        |           |     sort order:++
+                           |        |           |     Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |           |     value expressions:_col2 
(type: int), _col3 (type: decimal(7,2))
+                           |        |           |     Select Operator [SEL_93]
+                           |        |           |        
outputColumnNames:["_col0","_col1","_col2","_col3"]
+                           |        |           |        Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |           |        TableScan [TS_92]
+                           |        |           |           
alias:catalog_returns
+                           |        |           |           Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |           |<-Reducer 28 [SIMPLE_EDGE]
+                           |        |              Reduce Output Operator 
[RS_104]
+                           |        |                 key expressions:_col2 
(type: int), _col1 (type: int)
+                           |        |                 Map-reduce partition 
columns:_col2 (type: int), _col1 (type: int)
+                           |        |                 sort order:++
+                           |        |                 Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                           |        |                 value expressions:_col3 
(type: int), _col4 (type: decimal(7,2)), _col6 (type: int), _col7 (type: int), 
_col8 (type: int), _col10 (type: int), _col12 (type: int)
+                           |        |                 Merge Join Operator 
[MERGEJOIN_272]
+                           |        |                 |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                           |        |                 |  keys:{"0":"_col0 
(type: int)","1":"_col0 (type: int)"}
+                           |        |                 |  
outputColumnNames:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10","_col12"]
+                           |        |                 |  Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                           |        |                 |<-Map 33 [SIMPLE_EDGE]
+                           |        |                 |  Reduce Output 
Operator [RS_102]
+                           |        |                 |     key 
expressions:_col0 (type: int)
+                           |        |                 |     Map-reduce 
partition columns:_col0 (type: int)
+                           |        |                 |     sort order:+
+                           |        |                 |     Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                           |        |                 |     value 
expressions:2001 (type: int)
+                           |        |                 |     Select Operator 
[SEL_91]
+                           |        |                 |        
outputColumnNames:["_col0"]
+                           |        |                 |        Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                           |        |                 |        Filter Operator 
[FIL_252]
+                           |        |                 |           
predicate:((d_year = 2001) and d_date_sk is not null) (type: boolean)
+                           |        |                 |           
Statistics:Num rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                 |           TableScan 
[TS_89]
+                           |        |                 |              
alias:date_dim
+                           |        |                 |              
Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                 |<-Reducer 27 
[SIMPLE_EDGE]
+                           |        |                    Reduce Output 
Operator [RS_100]
+                           |        |                       key 
expressions:_col0 (type: int)
+                           |        |                       Map-reduce 
partition columns:_col0 (type: int)
+                           |        |                       sort order:+
+                           |        |                       Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                           |        |                       value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2)), _col6 (type: int), _col7 (type: int), _col8 (type: int), 
_col10 (type: int)
+                           |        |                       Merge Join 
Operator [MERGEJOIN_271]
+                           |        |                       |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                           |        |                       |  
keys:{"0":"_col1 (type: int)","1":"_col0 (type: int)"}
+                           |        |                       |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                           |        |                       |  Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                           |        |                       |<-Map 26 
[SIMPLE_EDGE]
+                           |        |                       |  Reduce Output 
Operator [RS_95]
+                           |        |                       |     key 
expressions:_col1 (type: int)
+                           |        |                       |     Map-reduce 
partition columns:_col1 (type: int)
+                           |        |                       |     sort order:+
+                           |        |                       |     
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |                       |     value 
expressions:_col0 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2))
+                           |        |                       |     Select 
Operator [SEL_85]
+                           |        |                       |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
+                           |        |                       |        
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |                       |        Filter 
Operator [FIL_250]
+                           |        |                       |           
predicate:(cs_item_sk is not null and cs_sold_date_sk is not null) (type: 
boolean)
+                           |        |                       |           
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |                       |           
TableScan [TS_83]
+                           |        |                       |              
alias:catalog_sales
+                           |        |                       |              
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |                       |<-Map 32 
[SIMPLE_EDGE]
+                           |        |                          Reduce Output 
Operator [RS_97]
+                           |        |                             key 
expressions:_col0 (type: int)
+                           |        |                             Map-reduce 
partition columns:_col0 (type: int)
+                           |        |                             sort order:+
+                           |        |                             
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                             value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col5 
(type: int)
+                           |        |                             Select 
Operator [SEL_88]
+                           |        |                                
outputColumnNames:["_col0","_col1","_col2","_col3","_col5"]
+                           |        |                                
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                                Filter 
Operator [FIL_251]
+                           |        |                                   
predicate:((((((i_category = 'Sports') and i_item_sk is not null) and 
i_category_id is not null) and i_manufact_id is not null) and i_class_id is not 
null) and i_brand_id is not null) (type: boolean)
+                           |        |                                   
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                                   
TableScan [TS_86]
+                           |        |                                      
alias:item
+                           |        |                                      
Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |<-Reducer 38 [CONTAINS]
+                           |        |  Reduce Output Operator [RS_163]
+                           |        |     key expressions:_col0 (type: int), 
_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                           |        |     Map-reduce partition columns:_col0 
(type: int), _col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: int)
+                           |        |     sort order:+++++
+                           |        |     Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                           |        |     value expressions:_col5 (type: 
bigint), _col6 (type: double)
+                           |        |     Group By Operator [GBY_162]
+                           |        |        
aggregations:["sum(_col5)","sum(_col6)"]
+                           |        |        keys:_col0 (type: int), _col1 
(type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                           |        |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                           |        |        Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                           |        |        Select Operator [SEL_132]
+                           |        |           
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                           |        |           Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                           |        |           Merge Join Operator 
[MERGEJOIN_276]
+                           |        |           |  condition map:[{"":"Left 
Outer Join0 to 1"}]
+                           |        |           |  keys:{"0":"_col2 (type: 
int), _col1 (type: int)","1":"_col1 (type: int), _col0 (type: int)"}
+                           |        |           |  
outputColumnNames:["_col3","_col4","_col6","_col7","_col8","_col10","_col12","_col15","_col16"]
+                           |        |           |  Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                           |        |           |<-Map 41 [SIMPLE_EDGE]
+                           |        |           |  Reduce Output Operator 
[RS_130]
+                           |        |           |     key expressions:_col1 
(type: int), _col0 (type: int)
+                           |        |           |     Map-reduce partition 
columns:_col1 (type: int), _col0 (type: int)
+                           |        |           |     sort order:++
+                           |        |           |     Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |           |     value expressions:_col2 
(type: int), _col3 (type: decimal(7,2))
+                           |        |           |     Select Operator [SEL_118]
+                           |        |           |        
outputColumnNames:["_col0","_col1","_col2","_col3"]
+                           |        |           |        Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |           |        TableScan [TS_117]
+                           |        |           |           alias:store_returns
+                           |        |           |           Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |           |<-Reducer 37 [SIMPLE_EDGE]
+                           |        |              Reduce Output Operator 
[RS_129]
+                           |        |                 key expressions:_col2 
(type: int), _col1 (type: int)
+                           |        |                 Map-reduce partition 
columns:_col2 (type: int), _col1 (type: int)
+                           |        |                 sort order:++
+                           |        |                 Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                           |        |                 value expressions:_col3 
(type: int), _col4 (type: decimal(7,2)), _col6 (type: int), _col7 (type: int), 
_col8 (type: int), _col10 (type: int), _col12 (type: int)
+                           |        |                 Merge Join Operator 
[MERGEJOIN_275]
+                           |        |                 |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                           |        |                 |  keys:{"0":"_col0 
(type: int)","1":"_col0 (type: int)"}
+                           |        |                 |  
outputColumnNames:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10","_col12"]
+                           |        |                 |  Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                           |        |                 |<-Map 40 [SIMPLE_EDGE]
+                           |        |                 |  Reduce Output 
Operator [RS_127]
+                           |        |                 |     key 
expressions:_col0 (type: int)
+                           |        |                 |     Map-reduce 
partition columns:_col0 (type: int)
+                           |        |                 |     sort order:+
+                           |        |                 |     Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                           |        |                 |     value 
expressions:2001 (type: int)
+                           |        |                 |     Select Operator 
[SEL_116]
+                           |        |                 |        
outputColumnNames:["_col0"]
+                           |        |                 |        Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                           |        |                 |        Filter Operator 
[FIL_256]
+                           |        |                 |           
predicate:((d_year = 2001) and d_date_sk is not null) (type: boolean)
+                           |        |                 |           
Statistics:Num rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                 |           TableScan 
[TS_114]
+                           |        |                 |              
alias:date_dim
+                           |        |                 |              
Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                 |<-Reducer 36 
[SIMPLE_EDGE]
+                           |        |                    Reduce Output 
Operator [RS_125]
+                           |        |                       key 
expressions:_col0 (type: int)
+                           |        |                       Map-reduce 
partition columns:_col0 (type: int)
+                           |        |                       sort order:+
+                           |        |                       Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                           |        |                       value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2)), _col6 (type: int), _col7 (type: int), _col8 (type: int), 
_col10 (type: int)
+                           |        |                       Merge Join 
Operator [MERGEJOIN_274]
+                           |        |                       |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                           |        |                       |  
keys:{"0":"_col1 (type: int)","1":"_col0 (type: int)"}
+                           |        |                       |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                           |        |                       |  Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                           |        |                       |<-Map 35 
[SIMPLE_EDGE]
+                           |        |                       |  Reduce Output 
Operator [RS_120]
+                           |        |                       |     key 
expressions:_col1 (type: int)
+                           |        |                       |     Map-reduce 
partition columns:_col1 (type: int)
+                           |        |                       |     sort order:+
+                           |        |                       |     
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |                       |     value 
expressions:_col0 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2))
+                           |        |                       |     Select 
Operator [SEL_110]
+                           |        |                       |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
+                           |        |                       |        
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |                       |        Filter 
Operator [FIL_254]
+                           |        |                       |           
predicate:(ss_item_sk is not null and ss_sold_date_sk is not null) (type: 
boolean)
+                           |        |                       |           
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |                       |           
TableScan [TS_108]
+                           |        |                       |              
alias:store_sales
+                           |        |                       |              
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |        |                       |<-Map 39 
[SIMPLE_EDGE]
+                           |        |                          Reduce Output 
Operator [RS_122]
+                           |        |                             key 
expressions:_col0 (type: int)
+                           |        |                             Map-reduce 
partition columns:_col0 (type: int)
+                           |        |                             sort order:+
+                           |        |                             
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                             value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col5 
(type: int)
+                           |        |                             Select 
Operator [SEL_113]
+                           |        |                                
outputColumnNames:["_col0","_col1","_col2","_col3","_col5"]
+                           |        |                                
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                                Filter 
Operator [FIL_255]
+                           |        |                                   
predicate:((((((i_category = 'Sports') and i_item_sk is not null) and 
i_category_id is not null) and i_manufact_id is not null) and i_class_id is not 
null) and i_brand_id is not null) (type: boolean)
+                           |        |                                   
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |                                   
TableScan [TS_111]
+                           |        |                                      
alias:item
+                           |        |                                      
Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column 
stats: NONE
+                           |        |<-Reducer 45 [CONTAINS]
+                           |           Reduce Output Operator [RS_163]
+                           |              key expressions:_col0 (type: int), 
_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                           |              Map-reduce partition columns:_col0 
(type: int), _col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: int)
+                           |              sort order:+++++
+                           |              Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                           |              value expressions:_col5 (type: 
bigint), _col6 (type: double)
+                           |              Group By Operator [GBY_162]
+                           |                 
aggregations:["sum(_col5)","sum(_col6)"]
+                           |                 keys:_col0 (type: int), _col1 
(type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                           |                 
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                           |                 Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                           |                 Select Operator [SEL_159]
+                           |                    
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                           |                    Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                           |                    Merge Join Operator 
[MERGEJOIN_279]
+                           |                    |  condition map:[{"":"Left 
Outer Join0 to 1"}]
+                           |                    |  keys:{"0":"_col2 (type: 
int), _col1 (type: int)","1":"_col1 (type: int), _col0 (type: int)"}
+                           |                    |  
outputColumnNames:["_col3","_col4","_col6","_col7","_col8","_col10","_col12","_col15","_col16"]
+                           |                    |  Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                           |                    |<-Map 48 [SIMPLE_EDGE]
+                           |                    |  Reduce Output Operator 
[RS_157]
+                           |                    |     key expressions:_col1 
(type: int), _col0 (type: int)
+                           |                    |     Map-reduce partition 
columns:_col1 (type: int), _col0 (type: int)
+                           |                    |     sort order:++
+                           |                    |     Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |                    |     value expressions:_col2 
(type: int), _col3 (type: decimal(7,2))
+                           |                    |     Select Operator [SEL_145]
+                           |                    |        
outputColumnNames:["_col0","_col1","_col2","_col3"]
+                           |                    |        Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |                    |        TableScan [TS_144]
+                           |                    |           alias:web_returns
+                           |                    |           Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |                    |<-Reducer 44 [SIMPLE_EDGE]
+                           |                       Reduce Output Operator 
[RS_156]
+                           |                          key expressions:_col2 
(type: int), _col1 (type: int)
+                           |                          Map-reduce partition 
columns:_col2 (type: int), _col1 (type: int)
+                           |                          sort order:++
+                           |                          Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                           |                          value expressions:_col3 
(type: int), _col4 (type: decimal(7,2)), _col6 (type: int), _col7 (type: int), 
_col8 (type: int), _col10 (type: int), _col12 (type: int)
+                           |                          Merge Join Operator 
[MERGEJOIN_278]
+                           |                          |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                           |                          |  keys:{"0":"_col0 
(type: int)","1":"_col0 (type: int)"}
+                           |                          |  
outputColumnNames:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10","_col12"]
+                           |                          |  Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                           |                          |<-Map 47 [SIMPLE_EDGE]
+                           |                          |  Reduce Output 
Operator [RS_154]
+                           |                          |     key 
expressions:_col0 (type: int)
+                           |                          |     Map-reduce 
partition columns:_col0 (type: int)
+                           |                          |     sort order:+
+                           |                          |     Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                           |                          |     value 
expressions:2001 (type: int)
+                           |                          |     Select Operator 
[SEL_143]
+                           |                          |        
outputColumnNames:["_col0"]
+                           |                          |        Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                           |                          |        Filter Operator 
[FIL_260]
+                           |                          |           
predicate:((d_year = 2001) and d_date_sk is not null) (type: boolean)
+                           |                          |           
Statistics:Num rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column 
stats: NONE
+                           |                          |           TableScan 
[TS_141]
+                           |                          |              
alias:date_dim
+                           |                          |              
Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column 
stats: NONE
+                           |                          |<-Reducer 43 
[SIMPLE_EDGE]
+                           |                             Reduce Output 
Operator [RS_152]
+                           |                                key 
expressions:_col0 (type: int)
+                           |                                Map-reduce 
partition columns:_col0 (type: int)
+                           |                                sort order:+
+                           |                                Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                           |                                value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2)), _col6 (type: int), _col7 (type: int), _col8 (type: int), 
_col10 (type: int)
+                           |                                Merge Join 
Operator [MERGEJOIN_277]
+                           |                                |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                           |                                |  
keys:{"0":"_col1 (type: int)","1":"_col0 (type: int)"}
+                           |                                |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                           |                                |  Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                           |                                |<-Map 42 
[SIMPLE_EDGE]
+                           |                                |  Reduce Output 
Operator [RS_147]
+                           |                                |     key 
expressions:_col1 (type: int)
+                           |                                |     Map-reduce 
partition columns:_col1 (type: int)
+                           |                                |     sort order:+
+                           |                                |     
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |                                |     value 
expressions:_col0 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2))
+                           |                                |     Select 
Operator [SEL_137]
+                           |                                |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
+                           |                                |        
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |                                |        Filter 
Operator [FIL_258]
+                           |                                |           
predicate:(ws_item_sk is not null and ws_sold_date_sk is not null) (type: 
boolean)
+                           |                                |           
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |                                |           
TableScan [TS_135]
+                           |                                |              
alias:web_sales
+                           |                                |              
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                           |                                |<-Map 46 
[SIMPLE_EDGE]
+                           |                                   Reduce Output 
Operator [RS_149]
+                           |                                      key 
expressions:_col0 (type: int)
+                           |                                      Map-reduce 
partition columns:_col0 (type: int)
+                           |                                      sort order:+
+                           |                                      
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                           |                                      value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col5 
(type: int)
+                           |                                      Select 
Operator [SEL_140]
+                           |                                         
outputColumnNames:["_col0","_col1","_col2","_col3","_col5"]
+                           |                                         
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                           |                                         Filter 
Operator [FIL_259]
+                           |                                            
predicate:((((((i_category = 'Sports') and i_item_sk is not null) and 
i_category_id is not null) and i_manufact_id is not null) and i_class_id is not 
null) and i_brand_id is not null) (type: boolean)
+                           |                                            
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                           |                                            
TableScan [TS_138]
+                           |                                               
alias:item
+                           |                                               
Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column 
stats: NONE
+                           |<-Reducer 6 [SIMPLE_EDGE]
+                              Reduce Output Operator [RS_167]
+                                 key expressions:_col1 (type: int), _col2 
(type: int), _col3 (type: int), _col4 (type: int)
+                                 Map-reduce partition columns:_col1 (type: 
int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                                 sort order:++++
+                                 Statistics:Num rows: 461191 Data size: 
662398546 Basic stats: COMPLETE Column stats: NONE
+                                 value expressions:_col0 (type: int), _col5 
(type: bigint), _col6 (type: double)
+                                 Group By Operator [GBY_81]
+                                 |  
aggregations:["sum(VALUE._col0)","sum(VALUE._col1)"]
+                                 |  keys:KEY._col0 (type: int), KEY._col1 
(type: int), KEY._col2 (type: int), KEY._col3 (type: int), KEY._col4 (type: int)
+                                 |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                                 |  Statistics:Num rows: 461191 Data size: 
662398546 Basic stats: COMPLETE Column stats: NONE
+                                 |<-Union 5 [SIMPLE_EDGE]
+                                    |<-Reducer 15 [CONTAINS]
+                                    |  Reduce Output Operator [RS_80]
+                                    |     key expressions:_col0 (type: int), 
_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                                    |     Map-reduce partition columns:_col0 
(type: int), _col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: int)
+                                    |     sort order:+++++
+                                    |     Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                                    |     value expressions:_col5 (type: 
bigint), _col6 (type: double)
+                                    |     Group By Operator [GBY_79]
+                                    |        
aggregations:["sum(_col5)","sum(_col6)"]
+                                    |        keys:_col0 (type: int), _col1 
(type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                                    |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                                    |        Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                                    |        Select Operator [SEL_49]
+                                    |           
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                                    |           Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                                    |           Merge Join Operator 
[MERGEJOIN_267]
+                                    |           |  condition map:[{"":"Left 
Outer Join0 to 1"}]
+                                    |           |  keys:{"0":"_col2 (type: 
int), _col1 (type: int)","1":"_col1 (type: int), _col0 (type: int)"}
+                                    |           |  
outputColumnNames:["_col3","_col4","_col6","_col7","_col8","_col10","_col12","_col15","_col16"]
+                                    |           |  Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                                    |           |<-Map 18 [SIMPLE_EDGE]
+                                    |           |  Reduce Output Operator 
[RS_47]
+                                    |           |     key expressions:_col1 
(type: int), _col0 (type: int)
+                                    |           |     Map-reduce partition 
columns:_col1 (type: int), _col0 (type: int)
+                                    |           |     sort order:++
+                                    |           |     Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |           |     value expressions:_col2 
(type: int), _col3 (type: decimal(7,2))
+                                    |           |     Select Operator [SEL_35]
+                                    |           |        
outputColumnNames:["_col0","_col1","_col2","_col3"]
+                                    |           |        Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |           |        TableScan [TS_34]
+                                    |           |           alias:store_returns
+                                    |           |           Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |           |<-Reducer 14 [SIMPLE_EDGE]
+                                    |              Reduce Output Operator 
[RS_46]
+                                    |                 key expressions:_col2 
(type: int), _col1 (type: int)
+                                    |                 Map-reduce partition 
columns:_col2 (type: int), _col1 (type: int)
+                                    |                 sort order:++
+                                    |                 Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                                    |                 value expressions:_col3 
(type: int), _col4 (type: decimal(7,2)), _col6 (type: int), _col7 (type: int), 
_col8 (type: int), _col10 (type: int), _col12 (type: int)
+                                    |                 Merge Join Operator 
[MERGEJOIN_266]
+                                    |                 |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                                    |                 |  keys:{"0":"_col0 
(type: int)","1":"_col0 (type: int)"}
+                                    |                 |  
outputColumnNames:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10","_col12"]
+                                    |                 |  Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                                    |                 |<-Map 17 [SIMPLE_EDGE]
+                                    |                 |  Reduce Output 
Operator [RS_44]
+                                    |                 |     key 
expressions:_col0 (type: int)
+                                    |                 |     Map-reduce 
partition columns:_col0 (type: int)
+                                    |                 |     sort order:+
+                                    |                 |     Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                                    |                 |     value 
expressions:2002 (type: int)
+                                    |                 |     Select Operator 
[SEL_33]
+                                    |                 |        
outputColumnNames:["_col0"]
+                                    |                 |        Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                                    |                 |        Filter Operator 
[FIL_244]
+                                    |                 |           
predicate:((d_year = 2002) and d_date_sk is not null) (type: boolean)
+                                    |                 |           
Statistics:Num rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                 |           TableScan 
[TS_31]
+                                    |                 |              
alias:date_dim
+                                    |                 |              
Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                 |<-Reducer 13 
[SIMPLE_EDGE]
+                                    |                    Reduce Output 
Operator [RS_42]
+                                    |                       key 
expressions:_col0 (type: int)
+                                    |                       Map-reduce 
partition columns:_col0 (type: int)
+                                    |                       sort order:+
+                                    |                       Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                                    |                       value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2)), _col6 (type: int), _col7 (type: int), _col8 (type: int), 
_col10 (type: int)
+                                    |                       Merge Join 
Operator [MERGEJOIN_265]
+                                    |                       |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                                    |                       |  
keys:{"0":"_col1 (type: int)","1":"_col0 (type: int)"}
+                                    |                       |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                    |                       |  Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                                    |                       |<-Map 12 
[SIMPLE_EDGE]
+                                    |                       |  Reduce Output 
Operator [RS_37]
+                                    |                       |     key 
expressions:_col1 (type: int)
+                                    |                       |     Map-reduce 
partition columns:_col1 (type: int)
+                                    |                       |     sort order:+
+                                    |                       |     
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |                       |     value 
expressions:_col0 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2))
+                                    |                       |     Select 
Operator [SEL_27]
+                                    |                       |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
+                                    |                       |        
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |                       |        Filter 
Operator [FIL_242]
+                                    |                       |           
predicate:(ss_item_sk is not null and ss_sold_date_sk is not null) (type: 
boolean)
+                                    |                       |           
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |                       |           
TableScan [TS_25]
+                                    |                       |              
alias:store_sales
+                                    |                       |              
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |                       |<-Map 16 
[SIMPLE_EDGE]
+                                    |                          Reduce Output 
Operator [RS_39]
+                                    |                             key 
expressions:_col0 (type: int)
+                                    |                             Map-reduce 
partition columns:_col0 (type: int)
+                                    |                             sort order:+
+                                    |                             
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                             value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col5 
(type: int)
+                                    |                             Select 
Operator [SEL_30]
+                                    |                                
outputColumnNames:["_col0","_col1","_col2","_col3","_col5"]
+                                    |                                
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                                Filter 
Operator [FIL_243]
+                                    |                                   
predicate:((((((i_category = 'Sports') and i_item_sk is not null) and 
i_category_id is not null) and i_manufact_id is not null) and i_class_id is not 
null) and i_brand_id is not null) (type: boolean)
+                                    |                                   
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                                   
TableScan [TS_28]
+                                    |                                      
alias:item
+                                    |                                      
Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column 
stats: NONE
+                                    |<-Reducer 22 [CONTAINS]
+                                    |  Reduce Output Operator [RS_80]
+                                    |     key expressions:_col0 (type: int), 
_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                                    |     Map-reduce partition columns:_col0 
(type: int), _col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: int)
+                                    |     sort order:+++++
+                                    |     Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                                    |     value expressions:_col5 (type: 
bigint), _col6 (type: double)
+                                    |     Group By Operator [GBY_79]
+                                    |        
aggregations:["sum(_col5)","sum(_col6)"]
+                                    |        keys:_col0 (type: int), _col1 
(type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                                    |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                                    |        Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                                    |        Select Operator [SEL_76]
+                                    |           
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                                    |           Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                                    |           Merge Join Operator 
[MERGEJOIN_270]
+                                    |           |  condition map:[{"":"Left 
Outer Join0 to 1"}]
+                                    |           |  keys:{"0":"_col2 (type: 
int), _col1 (type: int)","1":"_col1 (type: int), _col0 (type: int)"}
+                                    |           |  
outputColumnNames:["_col3","_col4","_col6","_col7","_col8","_col10","_col12","_col15","_col16"]
+                                    |           |  Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                                    |           |<-Map 25 [SIMPLE_EDGE]
+                                    |           |  Reduce Output Operator 
[RS_74]
+                                    |           |     key expressions:_col1 
(type: int), _col0 (type: int)
+                                    |           |     Map-reduce partition 
columns:_col1 (type: int), _col0 (type: int)
+                                    |           |     sort order:++
+                                    |           |     Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |           |     value expressions:_col2 
(type: int), _col3 (type: decimal(7,2))
+                                    |           |     Select Operator [SEL_62]
+                                    |           |        
outputColumnNames:["_col0","_col1","_col2","_col3"]
+                                    |           |        Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |           |        TableScan [TS_61]
+                                    |           |           alias:web_returns
+                                    |           |           Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |           |<-Reducer 21 [SIMPLE_EDGE]
+                                    |              Reduce Output Operator 
[RS_73]
+                                    |                 key expressions:_col2 
(type: int), _col1 (type: int)
+                                    |                 Map-reduce partition 
columns:_col2 (type: int), _col1 (type: int)
+                                    |                 sort order:++
+                                    |                 Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                                    |                 value expressions:_col3 
(type: int), _col4 (type: decimal(7,2)), _col6 (type: int), _col7 (type: int), 
_col8 (type: int), _col10 (type: int), _col12 (type: int)
+                                    |                 Merge Join Operator 
[MERGEJOIN_269]
+                                    |                 |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                                    |                 |  keys:{"0":"_col0 
(type: int)","1":"_col0 (type: int)"}
+                                    |                 |  
outputColumnNames:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10","_col12"]
+                                    |                 |  Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                                    |                 |<-Map 24 [SIMPLE_EDGE]
+                                    |                 |  Reduce Output 
Operator [RS_71]
+                                    |                 |     key 
expressions:_col0 (type: int)
+                                    |                 |     Map-reduce 
partition columns:_col0 (type: int)
+                                    |                 |     sort order:+
+                                    |                 |     Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                                    |                 |     value 
expressions:2002 (type: int)
+                                    |                 |     Select Operator 
[SEL_60]
+                                    |                 |        
outputColumnNames:["_col0"]
+                                    |                 |        Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                                    |                 |        Filter Operator 
[FIL_248]
+                                    |                 |           
predicate:((d_year = 2002) and d_date_sk is not null) (type: boolean)
+                                    |                 |           
Statistics:Num rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                 |           TableScan 
[TS_58]
+                                    |                 |              
alias:date_dim
+                                    |                 |              
Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                 |<-Reducer 20 
[SIMPLE_EDGE]
+                                    |                    Reduce Output 
Operator [RS_69]
+                                    |                       key 
expressions:_col0 (type: int)
+                                    |                       Map-reduce 
partition columns:_col0 (type: int)
+                                    |                       sort order:+
+                                    |                       Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                                    |                       value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2)), _col6 (type: int), _col7 (type: int), _col8 (type: int), 
_col10 (type: int)
+                                    |                       Merge Join 
Operator [MERGEJOIN_268]
+                                    |                       |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                                    |                       |  
keys:{"0":"_col1 (type: int)","1":"_col0 (type: int)"}
+                                    |                       |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                    |                       |  Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                                    |                       |<-Map 19 
[SIMPLE_EDGE]
+                                    |                       |  Reduce Output 
Operator [RS_64]
+                                    |                       |     key 
expressions:_col1 (type: int)
+                                    |                       |     Map-reduce 
partition columns:_col1 (type: int)
+                                    |                       |     sort order:+
+                                    |                       |     
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |                       |     value 
expressions:_col0 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2))
+                                    |                       |     Select 
Operator [SEL_54]
+                                    |                       |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
+                                    |                       |        
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |                       |        Filter 
Operator [FIL_246]
+                                    |                       |           
predicate:(ws_item_sk is not null and ws_sold_date_sk is not null) (type: 
boolean)
+                                    |                       |           
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |                       |           
TableScan [TS_52]
+                                    |                       |              
alias:web_sales
+                                    |                       |              
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                    |                       |<-Map 23 
[SIMPLE_EDGE]
+                                    |                          Reduce Output 
Operator [RS_66]
+                                    |                             key 
expressions:_col0 (type: int)
+                                    |                             Map-reduce 
partition columns:_col0 (type: int)
+                                    |                             sort order:+
+                                    |                             
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                             value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col5 
(type: int)
+                                    |                             Select 
Operator [SEL_57]
+                                    |                                
outputColumnNames:["_col0","_col1","_col2","_col3","_col5"]
+                                    |                                
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                                Filter 
Operator [FIL_247]
+                                    |                                   
predicate:((((((i_category = 'Sports') and i_item_sk is not null) and 
i_category_id is not null) and i_manufact_id is not null) and i_class_id is not 
null) and i_brand_id is not null) (type: boolean)
+                                    |                                   
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                                    |                                   
TableScan [TS_55]
+                                    |                                      
alias:item
+                                    |                                      
Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column 
stats: NONE
+                                    |<-Reducer 4 [CONTAINS]
+                                       Reduce Output Operator [RS_80]
+                                          key expressions:_col0 (type: int), 
_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                                          Map-reduce partition columns:_col0 
(type: int), _col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: int)
+                                          sort order:+++++
+                                          Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                                          value expressions:_col5 (type: 
bigint), _col6 (type: double)
+                                          Group By Operator [GBY_79]
+                                             
aggregations:["sum(_col5)","sum(_col6)"]
+                                             keys:_col0 (type: int), _col1 
(type: int), _col2 (type: int), _col3 (type: int), _col4 (type: int)
+                                             
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                                             Statistics:Num rows: 922383 Data 
size: 1324798530 Basic stats: COMPLETE Column stats: NONE
+                                             Select Operator [SEL_24]
+                                                
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col5","_col6"]
+                                                Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                                                Merge Join Operator 
[MERGEJOIN_264]
+                                                |  condition map:[{"":"Left 
Outer Join0 to 1"}]
+                                                |  keys:{"0":"_col2 (type: 
int), _col1 (type: int)","1":"_col1 (type: int), _col0 (type: int)"}
+                                                |  
outputColumnNames:["_col3","_col4","_col6","_col7","_col8","_col10","_col12","_col15","_col16"]
+                                                |  Statistics:Num rows: 307461 
Data size: 441599510 Basic stats: COMPLETE Column stats: NONE
+                                                |<-Map 11 [SIMPLE_EDGE]
+                                                |  Reduce Output Operator 
[RS_22]
+                                                |     key expressions:_col1 
(type: int), _col0 (type: int)
+                                                |     Map-reduce partition 
columns:_col1 (type: int), _col0 (type: int)
+                                                |     sort order:++
+                                                |     Statistics:Num rows: 1 
Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                                |     value expressions:_col2 
(type: int), _col3 (type: decimal(7,2))
+                                                |     Select Operator [SEL_10]
+                                                |        
outputColumnNames:["_col0","_col1","_col2","_col3"]
+                                                |        Statistics:Num rows: 
1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                                |        TableScan [TS_9]
+                                                |           
alias:catalog_returns
+                                                |           Statistics:Num 
rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                                |<-Reducer 3 [SIMPLE_EDGE]
+                                                   Reduce Output Operator 
[RS_21]
+                                                      key expressions:_col2 
(type: int), _col1 (type: int)
+                                                      Map-reduce partition 
columns:_col2 (type: int), _col1 (type: int)
+                                                      sort order:++
+                                                      Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                                                      value expressions:_col3 
(type: int), _col4 (type: decimal(7,2)), _col6 (type: int), _col7 (type: int), 
_col8 (type: int), _col10 (type: int), _col12 (type: int)
+                                                      Merge Join Operator 
[MERGEJOIN_263]
+                                                      |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                                                      |  keys:{"0":"_col0 
(type: int)","1":"_col0 (type: int)"}
+                                                      |  
outputColumnNames:["_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10","_col12"]
+                                                      |  Statistics:Num rows: 
279510 Data size: 401454092 Basic stats: COMPLETE Column stats: NONE
+                                                      |<-Map 10 [SIMPLE_EDGE]
+                                                      |  Reduce Output 
Operator [RS_19]
+                                                      |     key 
expressions:_col0 (type: int)
+                                                      |     Map-reduce 
partition columns:_col0 (type: int)
+                                                      |     sort order:+
+                                                      |     Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                                                      |     value 
expressions:2002 (type: int)
+                                                      |     Select Operator 
[SEL_8]
+                                                      |        
outputColumnNames:["_col0"]
+                                                      |        Statistics:Num 
rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column stats: NONE
+                                                      |        Filter Operator 
[FIL_240]
+                                                      |           
predicate:((d_year = 2002) and d_date_sk is not null) (type: boolean)
+                                                      |           
Statistics:Num rows: 36524 Data size: 40870356 Basic stats: COMPLETE Column 
stats: NONE
+                                                      |           TableScan 
[TS_6]
+                                                      |              
alias:date_dim
+                                                      |              
Statistics:Num rows: 73049 Data size: 81741831 Basic stats: COMPLETE Column 
stats: NONE
+                                                      |<-Reducer 2 
[SIMPLE_EDGE]
+                                                         Reduce Output 
Operator [RS_17]
+                                                            key 
expressions:_col0 (type: int)
+                                                            Map-reduce 
partition columns:_col0 (type: int)
+                                                            sort order:+
+                                                            Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                                                            value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2)), _col6 (type: int), _col7 (type: int), _col8 (type: int), 
_col10 (type: int)
+                                                            Merge Join 
Operator [MERGEJOIN_262]
+                                                            |  condition 
map:[{"":"Inner Join 0 to 1"}]
+                                                            |  
keys:{"0":"_col1 (type: int)","1":"_col0 (type: int)"}
+                                                            |  
outputColumnNames:["_col0","_col1","_col2","_col3","_col4","_col6","_col7","_col8","_col10"]
+                                                            |  Statistics:Num 
rows: 254100 Data size: 364958258 Basic stats: COMPLETE Column stats: NONE
+                                                            |<-Map 1 
[SIMPLE_EDGE]
+                                                            |  Reduce Output 
Operator [RS_12]
+                                                            |     key 
expressions:_col1 (type: int)
+                                                            |     Map-reduce 
partition columns:_col1 (type: int)
+                                                            |     sort order:+
+                                                            |     
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                                            |     value 
expressions:_col0 (type: int), _col2 (type: int), _col3 (type: int), _col4 
(type: decimal(7,2))
+                                                            |     Select 
Operator [SEL_2]
+                                                            |        
outputColumnNames:["_col0","_col1","_col2","_col3","_col4"]
+                                                            |        
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                                            |        Filter 
Operator [FIL_238]
+                                                            |           
predicate:(cs_item_sk is not null and cs_sold_date_sk is not null) (type: 
boolean)
+                                                            |           
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                                            |           
TableScan [TS_0]
+                                                            |              
alias:catalog_sales
+                                                            |              
Statistics:Num rows: 1 Data size: 0 Basic stats: PARTIAL Column stats: NONE
+                                                            |<-Map 9 
[SIMPLE_EDGE]
+                                                               Reduce Output 
Operator [RS_14]
+                                                                  key 
expressions:_col0 (type: int)
+                                                                  Map-reduce 
partition columns:_col0 (type: int)
+                                                                  sort order:+
+                                                                  
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                                                                  value 
expressions:_col1 (type: int), _col2 (type: int), _col3 (type: int), _col5 
(type: int)
+                                                                  Select 
Operator [SEL_5]
+                                                                     
outputColumnNames:["_col0","_col1","_col2","_col3","_col5"]
+                                                                     
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                                                                     Filter 
Operator [FIL_239]
+                                                                        
predicate:((((((i_category = 'Sports') and i_item_sk is not null) and 
i_category_id is not null) and i_manufact_id is not null) and i_class_id is not 
null) and i_brand_id is not null) (type: boolean)
+                                                                        
Statistics:Num rows: 231000 Data size: 331780228 Basic stats: COMPLETE Column 
stats: NONE
+                                                                        
TableScan [TS_3]
+                                                                           
alias:item
+                                                                           
Statistics:Num rows: 462000 Data size: 663560457 Basic stats: COMPLETE Column 
stats: NONE
+

Reply via email to