You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jc...@apache.org on 2017/05/13 07:09:47 UTC

[13/22] hive git commit: HIVE-16602: Implement shared scans with Tez (Jesus Camacho Rodriguez, reviewed by Ashutosh Chauhan)

http://git-wip-us.apache.org/repos/asf/hive/blob/59f65772/ql/src/test/results/clientpositive/perf/query1.q.out
----------------------------------------------------------------------
diff --git a/ql/src/test/results/clientpositive/perf/query1.q.out b/ql/src/test/results/clientpositive/perf/query1.q.out
index d84c76d..7c583e4 100644
--- a/ql/src/test/results/clientpositive/perf/query1.q.out
+++ b/ql/src/test/results/clientpositive/perf/query1.q.out
@@ -47,14 +47,14 @@ POSTHOOK: type: QUERY
 Plan optimized by CBO.
 
 Vertex dependency in root stage
-Reducer 12 <- Map 11 (SIMPLE_EDGE), Map 14 (SIMPLE_EDGE)
-Reducer 13 <- Reducer 12 (SIMPLE_EDGE)
-Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 8 (SIMPLE_EDGE)
+Reducer 2 <- Map 1 (SIMPLE_EDGE), Map 10 (SIMPLE_EDGE)
 Reducer 3 <- Reducer 2 (SIMPLE_EDGE)
-Reducer 4 <- Map 9 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
-Reducer 5 <- Map 10 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE)
-Reducer 6 <- Reducer 13 (SIMPLE_EDGE), Reducer 5 (SIMPLE_EDGE)
+Reducer 4 <- Map 11 (SIMPLE_EDGE), Reducer 3 (SIMPLE_EDGE)
+Reducer 5 <- Map 12 (SIMPLE_EDGE), Reducer 4 (SIMPLE_EDGE)
+Reducer 6 <- Reducer 5 (SIMPLE_EDGE), Reducer 9 (SIMPLE_EDGE)
 Reducer 7 <- Reducer 6 (SIMPLE_EDGE)
+Reducer 8 <- Map 1 (SIMPLE_EDGE), Map 10 (SIMPLE_EDGE)
+Reducer 9 <- Reducer 8 (SIMPLE_EDGE)
 
 Stage-0
   Fetch Operator
@@ -74,48 +74,12 @@ Stage-0
                   predicate:(_col2 > CASE WHEN (_col8 is null) THEN (null) ELSE (_col7) END)
                   Merge Join Operator [MERGEJOIN_78] (rows=96800003 width=860)
                     Conds:RS_45._col1=RS_46._col2(Left Outer),Output:["_col2","_col6","_col7","_col8"]
-                  <-Reducer 13 [SIMPLE_EDGE]
-                    SHUFFLE [RS_46]
-                      PartitionCols:_col2
-                      Select Operator [SEL_38] (rows=15837566 width=77)
-                        Output:["_col0","_col1","_col2"]
-                        Group By Operator [GBY_37] (rows=15837566 width=77)
-                          Output:["_col0","_col1"],aggregations:["avg(_col2)"],keys:_col1
-                          Select Operator [SEL_33] (rows=31675133 width=77)
-                            Output:["_col1","_col2"]
-                            Group By Operator [GBY_32] (rows=31675133 width=77)
-                              Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1
-                            <-Reducer 12 [SIMPLE_EDGE]
-                              SHUFFLE [RS_31]
-                                PartitionCols:_col0
-                                Group By Operator [GBY_30] (rows=63350266 width=77)
-                                  Output:["_col0","_col1","_col2"],aggregations:["sum(_col3)"],keys:_col2, _col1
-                                  Merge Join Operator [MERGEJOIN_77] (rows=63350266 width=77)
-                                    Conds:RS_26._col0=RS_27._col0(Inner),Output:["_col1","_col2","_col3"]
-                                  <-Map 11 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_26]
-                                      PartitionCols:_col0
-                                      Select Operator [SEL_22] (rows=57591150 width=77)
-                                        Output:["_col0","_col1","_col2","_col3"]
-                                        Filter Operator [FIL_72] (rows=57591150 width=77)
-                                          predicate:(sr_returned_date_sk is not null and sr_store_sk is not null)
-                                          TableScan [TS_20] (rows=57591150 width=77)
-                                            default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_returned_date_sk","sr_customer_sk","sr_store_sk","sr_fee"]
-                                  <-Map 14 [SIMPLE_EDGE]
-                                    SHUFFLE [RS_27]
-                                      PartitionCols:_col0
-                                      Select Operator [SEL_25] (rows=36524 width=1119)
-                                        Output:["_col0"]
-                                        Filter Operator [FIL_73] (rows=36524 width=1119)
-                                          predicate:((d_year = 2000) and d_date_sk is not null)
-                                          TableScan [TS_23] (rows=73049 width=1119)
-                                            default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
                   <-Reducer 5 [SIMPLE_EDGE]
                     SHUFFLE [RS_45]
                       PartitionCols:_col1
                       Merge Join Operator [MERGEJOIN_76] (rows=88000001 width=860)
                         Conds:RS_42._col0=RS_43._col0(Inner),Output:["_col1","_col2","_col6"]
-                      <-Map 10 [SIMPLE_EDGE]
+                      <-Map 12 [SIMPLE_EDGE]
                         SHUFFLE [RS_43]
                           PartitionCols:_col0
                           Select Operator [SEL_19] (rows=80000000 width=860)
@@ -129,7 +93,7 @@ Stage-0
                           PartitionCols:_col0
                           Merge Join Operator [MERGEJOIN_75] (rows=34842647 width=77)
                             Conds:RS_39._col1=RS_40._col0(Inner),Output:["_col0","_col1","_col2"]
-                          <-Map 9 [SIMPLE_EDGE]
+                          <-Map 11 [SIMPLE_EDGE]
                             SHUFFLE [RS_40]
                               PartitionCols:_col0
                               Select Operator [SEL_16] (rows=852 width=1910)
@@ -161,7 +125,7 @@ Stage-0
                                               predicate:(sr_returned_date_sk is not null and sr_store_sk is not null and sr_customer_sk is not null)
                                               TableScan [TS_0] (rows=57591150 width=77)
                                                 default@store_returns,store_returns,Tbl:COMPLETE,Col:NONE,Output:["sr_returned_date_sk","sr_customer_sk","sr_store_sk","sr_fee"]
-                                      <-Map 8 [SIMPLE_EDGE]
+                                      <-Map 10 [SIMPLE_EDGE]
                                         SHUFFLE [RS_7]
                                           PartitionCols:_col0
                                           Select Operator [SEL_5] (rows=36524 width=1119)
@@ -170,4 +134,38 @@ Stage-0
                                               predicate:((d_year = 2000) and d_date_sk is not null)
                                               TableScan [TS_3] (rows=73049 width=1119)
                                                 default@date_dim,date_dim,Tbl:COMPLETE,Col:NONE,Output:["d_date_sk","d_year"]
+                  <-Reducer 9 [SIMPLE_EDGE]
+                    SHUFFLE [RS_46]
+                      PartitionCols:_col2
+                      Select Operator [SEL_38] (rows=15837566 width=77)
+                        Output:["_col0","_col1","_col2"]
+                        Group By Operator [GBY_37] (rows=15837566 width=77)
+                          Output:["_col0","_col1"],aggregations:["avg(_col2)"],keys:_col1
+                          Select Operator [SEL_33] (rows=31675133 width=77)
+                            Output:["_col1","_col2"]
+                            Group By Operator [GBY_32] (rows=31675133 width=77)
+                              Output:["_col0","_col1","_col2"],aggregations:["sum(VALUE._col0)"],keys:KEY._col0, KEY._col1
+                            <-Reducer 8 [SIMPLE_EDGE]
+                              SHUFFLE [RS_31]
+                                PartitionCols:_col0
+                                Group By Operator [GBY_30] (rows=63350266 width=77)
+                                  Output:["_col0","_col1","_col2"],aggregations:["sum(_col3)"],keys:_col2, _col1
+                                  Merge Join Operator [MERGEJOIN_77] (rows=63350266 width=77)
+                                    Conds:RS_26._col0=RS_27._col0(Inner),Output:["_col1","_col2","_col3"]
+                                  <-Map 1 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_26]
+                                      PartitionCols:_col0
+                                      Select Operator [SEL_22] (rows=57591150 width=77)
+                                        Output:["_col0","_col1","_col2","_col3"]
+                                        Filter Operator [FIL_72] (rows=57591150 width=77)
+                                          predicate:(sr_returned_date_sk is not null and sr_store_sk is not null)
+                                           Please refer to the previous TableScan [TS_0]
+                                  <-Map 10 [SIMPLE_EDGE]
+                                    SHUFFLE [RS_27]
+                                      PartitionCols:_col0
+                                      Select Operator [SEL_25] (rows=36524 width=1119)
+                                        Output:["_col0"]
+                                        Filter Operator [FIL_73] (rows=36524 width=1119)
+                                          predicate:((d_year = 2000) and d_date_sk is not null)
+                                           Please refer to the previous TableScan [TS_3]