hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xu...@apache.org
Subject svn commit: r1642997 [14/31] - in /hive/branches/spark: itests/src/test/resources/ ql/src/java/org/apache/hadoop/hive/ql/optimizer/spark/ ql/src/test/results/clientpositive/spark/
Date Tue, 02 Dec 2014 19:57:14 GMT
Modified: hive/branches/spark/ql/src/test/results/clientpositive/spark/mergejoins.q.out
URL: http://svn.apache.org/viewvc/hive/branches/spark/ql/src/test/results/clientpositive/spark/mergejoins.q.out?rev=1642997&r1=1642996&r2=1642997&view=diff
==============================================================================
--- hive/branches/spark/ql/src/test/results/clientpositive/spark/mergejoins.q.out (original)
+++ hive/branches/spark/ql/src/test/results/clientpositive/spark/mergejoins.q.out Tue Dec
 2 19:57:10 2014
@@ -43,16 +43,32 @@ PREHOOK: type: QUERY
 POSTHOOK: query: explain select * from a join b on a.val1=b.val1 join c on a.val1=c.val1
join d on a.val1=d.val1 join e on a.val2=e.val2
 POSTHOOK: type: QUERY
 STAGE DEPENDENCIES:
-  Stage-2 is a root stage
-  Stage-1 depends on stages: Stage-2
+  Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
 
 STAGE PLANS:
-  Stage: Stage-2
+  Stage: Stage-1
     Spark
+      Edges:
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 1), Map 4 (PARTITION-LEVEL SORT, 1),
Map 5 (PARTITION-LEVEL SORT, 1), Map 6 (PARTITION-LEVEL SORT, 1)
+        Reducer 3 <- Map 7 (PARTITION-LEVEL SORT, 1), Reducer 2 (PARTITION-LEVEL SORT,
1)
 #### A masked pattern was here ####
       Vertices:
-        Map 2 
+        Map 1 
+            Map Operator Tree:
+                TableScan
+                  alias: a
+                  Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                  Filter Operator
+                    predicate: (val1 is not null and val2 is not null) (type: boolean)
+                    Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
+                    Reduce Output Operator
+                      key expressions: val1 (type: int)
+                      sort order: +
+                      Map-reduce partition columns: val1 (type: int)
+                      Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
+                      value expressions: val2 (type: int)
+        Map 4 
             Map Operator Tree:
                 TableScan
                   alias: b
@@ -60,20 +76,13 @@ STAGE PLANS:
                   Filter Operator
                     predicate: val1 is not null (type: boolean)
                     Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
-                    Spark HashTable Sink Operator
-                      condition expressions:
-                        0 {val1} {val2}
-                        1 {val2}
-                        2 {val1} {val2}
-                        3 {val1} {val2}
-                      keys:
-                        0 val1 (type: int)
-                        1 val1 (type: int)
-                        2 val1 (type: int)
-                        3 val1 (type: int)
-            Local Work:
-              Map Reduce Local Work
-        Map 3 
+                    Reduce Output Operator
+                      key expressions: val1 (type: int)
+                      sort order: +
+                      Map-reduce partition columns: val1 (type: int)
+                      Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
+                      value expressions: val2 (type: int)
+        Map 5 
             Map Operator Tree:
                 TableScan
                   alias: c
@@ -81,20 +90,13 @@ STAGE PLANS:
                   Filter Operator
                     predicate: val1 is not null (type: boolean)
                     Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
-                    Spark HashTable Sink Operator
-                      condition expressions:
-                        0 {val1} {val2}
-                        1 {val1} {val2}
-                        2 {val2}
-                        3 {val1} {val2}
-                      keys:
-                        0 val1 (type: int)
-                        1 val1 (type: int)
-                        2 val1 (type: int)
-                        3 val1 (type: int)
-            Local Work:
-              Map Reduce Local Work
-        Map 4 
+                    Reduce Output Operator
+                      key expressions: val1 (type: int)
+                      sort order: +
+                      Map-reduce partition columns: val1 (type: int)
+                      Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
+                      value expressions: val2 (type: int)
+        Map 6 
             Map Operator Tree:
                 TableScan
                   alias: d
@@ -102,20 +104,13 @@ STAGE PLANS:
                   Filter Operator
                     predicate: val1 is not null (type: boolean)
                     Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
-                    Spark HashTable Sink Operator
-                      condition expressions:
-                        0 {val1} {val2}
-                        1 {val1} {val2}
-                        2 {val1} {val2}
-                        3 {val2}
-                      keys:
-                        0 val1 (type: int)
-                        1 val1 (type: int)
-                        2 val1 (type: int)
-                        3 val1 (type: int)
-            Local Work:
-              Map Reduce Local Work
-        Map 5 
+                    Reduce Output Operator
+                      key expressions: val1 (type: int)
+                      sort order: +
+                      Map-reduce partition columns: val1 (type: int)
+                      Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
+                      value expressions: val2 (type: int)
+        Map 7 
             Map Operator Tree:
                 TableScan
                   alias: e
@@ -123,75 +118,53 @@ STAGE PLANS:
                   Filter Operator
                     predicate: val2 is not null (type: boolean)
                     Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
-                    Spark HashTable Sink Operator
-                      condition expressions:
-                        0 {_col0} {_col1} {_col5} {_col6} {_col10} {_col11} {_col15} {_col16}
-                        1 {val1}
-                      keys:
-                        0 _col1 (type: int)
-                        1 val2 (type: int)
-            Local Work:
-              Map Reduce Local Work
-
-  Stage: Stage-1
-    Spark
-#### A masked pattern was here ####
-      Vertices:
-        Map 1 
-            Map Operator Tree:
-                TableScan
-                  alias: a
+                    Reduce Output Operator
+                      key expressions: val2 (type: int)
+                      sort order: +
+                      Map-reduce partition columns: val2 (type: int)
+                      Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
+                      value expressions: val1 (type: int)
+        Reducer 2 
+            Reduce Operator Tree:
+              Join Operator
+                condition map:
+                     Inner Join 0 to 1
+                     Inner Join 0 to 2
+                     Inner Join 0 to 3
+                condition expressions:
+                  0 {KEY.reducesinkkey0} {VALUE._col0}
+                  1 {KEY.reducesinkkey0} {VALUE._col0}
+                  2 {KEY.reducesinkkey0} {VALUE._col0}
+                  3 {KEY.reducesinkkey0} {VALUE._col0}
+                outputColumnNames: _col0, _col1, _col5, _col6, _col10, _col11, _col15, _col16
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                Reduce Output Operator
+                  key expressions: _col1 (type: int)
+                  sort order: +
+                  Map-reduce partition columns: _col1 (type: int)
                   Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
-                  Filter Operator
-                    predicate: (val1 is not null and val2 is not null) (type: boolean)
+                  value expressions: _col0 (type: int), _col5 (type: int), _col6 (type: int),
_col10 (type: int), _col11 (type: int), _col15 (type: int), _col16 (type: int)
+        Reducer 3 
+            Reduce Operator Tree:
+              Join Operator
+                condition map:
+                     Inner Join 0 to 1
+                condition expressions:
+                  0 {VALUE._col0} {KEY.reducesinkkey0} {VALUE._col4} {VALUE._col5} {VALUE._col9}
{VALUE._col10} {VALUE._col14} {VALUE._col15}
+                  1 {VALUE._col0} {KEY.reducesinkkey0}
+                outputColumnNames: _col0, _col1, _col5, _col6, _col10, _col11, _col15, _col16,
_col20, _col21
+                Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                Select Operator
+                  expressions: _col0 (type: int), _col1 (type: int), _col5 (type: int), _col6
(type: int), _col10 (type: int), _col11 (type: int), _col15 (type: int), _col16 (type: int),
_col20 (type: int), _col21 (type: int)
+                  outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6, _col7,
_col8, _col9
+                  Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats: NONE
+                  File Output Operator
+                    compressed: false
                     Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
-                    Map Join Operator
-                      condition map:
-                           Inner Join 0 to 1
-                           Inner Join 0 to 2
-                           Inner Join 0 to 3
-                      condition expressions:
-                        0 {val1} {val2}
-                        1 {val1} {val2}
-                        2 {val1} {val2}
-                        3 {val1} {val2}
-                      keys:
-                        0 val1 (type: int)
-                        1 val1 (type: int)
-                        2 val1 (type: int)
-                        3 val1 (type: int)
-                      outputColumnNames: _col0, _col1, _col5, _col6, _col10, _col11, _col15,
_col16
-                      input vertices:
-                        1 Map 2
-                        2 Map 3
-                        3 Map 4
-                      Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
-                      Map Join Operator
-                        condition map:
-                             Inner Join 0 to 1
-                        condition expressions:
-                          0 {_col0} {_col1} {_col5} {_col6} {_col10} {_col11} {_col15} {_col16}
-                          1 {val1} {val2}
-                        keys:
-                          0 _col1 (type: int)
-                          1 val2 (type: int)
-                        outputColumnNames: _col0, _col1, _col5, _col6, _col10, _col11, _col15,
_col16, _col20, _col21
-                        input vertices:
-                          1 Map 5
-                        Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
-                        Select Operator
-                          expressions: _col0 (type: int), _col1 (type: int), _col5 (type:
int), _col6 (type: int), _col10 (type: int), _col11 (type: int), _col15 (type: int), _col16
(type: int), _col20 (type: int), _col21 (type: int)
-                          outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5, _col6,
_col7, _col8, _col9
-                          Statistics: Num rows: 0 Data size: 0 Basic stats: NONE Column stats:
NONE
-                          File Output Operator
-                            compressed: false
-                            Statistics: Num rows: 0 Data size: 0 Basic stats: NONE 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
-            Local Work:
-              Map Reduce Local Work
+                    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
 
   Stage: Stage-0
     Fetch Operator
@@ -206,99 +179,76 @@ POSTHOOK: query: --HIVE-3070 filter on o
 explain select * from src a join src b on a.key=b.key left outer join src c on b.key=c.key
and b.key<10
 POSTHOOK: type: QUERY
 STAGE DEPENDENCIES:
-  Stage-2 is a root stage
-  Stage-1 depends on stages: Stage-2
+  Stage-1 is a root stage
   Stage-0 depends on stages: Stage-1
 
 STAGE PLANS:
-  Stage: Stage-2
+  Stage: Stage-1
     Spark
+      Edges:
+        Reducer 2 <- Map 1 (PARTITION-LEVEL SORT, 1), Map 3 (PARTITION-LEVEL SORT, 1),
Map 4 (PARTITION-LEVEL SORT, 1)
 #### A masked pattern was here ####
       Vertices:
-        Map 2 
+        Map 1 
             Map Operator Tree:
                 TableScan
-                  alias: b
+                  alias: a
                   Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column
stats: NONE
-                  Spark HashTable Sink Operator
-                    condition expressions:
-                      0 {key} {value}
-                      1 {value}
-                      2 {key} {value}
-                    filter predicates:
-                      0 
-                      1 {(key < 10)}
-                      2 
-                    keys:
-                      0 key (type: string)
-                      1 key (type: string)
-                      2 key (type: string)
-            Local Work:
-              Map Reduce Local Work
+                  Reduce Output Operator
+                    key expressions: key (type: string)
+                    sort order: +
+                    Map-reduce partition columns: key (type: string)
+                    Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column
stats: NONE
+                    value expressions: value (type: string)
         Map 3 
             Map Operator Tree:
                 TableScan
-                  alias: c
+                  alias: b
                   Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column
stats: NONE
-                  Spark HashTable Sink Operator
-                    condition expressions:
-                      0 {key} {value}
-                      1 {key} {value}
-                      2 {value}
-                    filter predicates:
-                      0 
-                      1 {(key < 10)}
-                      2 
-                    keys:
-                      0 key (type: string)
-                      1 key (type: string)
-                      2 key (type: string)
-            Local Work:
-              Map Reduce Local Work
-
-  Stage: Stage-1
-    Spark
-#### A masked pattern was here ####
-      Vertices:
-        Map 1 
+                  Reduce Output Operator
+                    key expressions: key (type: string)
+                    sort order: +
+                    Map-reduce partition columns: key (type: string)
+                    Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column
stats: NONE
+                    value expressions: value (type: string)
+        Map 4 
             Map Operator Tree:
                 TableScan
-                  alias: a
+                  alias: c
                   Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column
stats: NONE
-                  Map Join Operator
-                    condition map:
-                         Inner Join 0 to 1
-                         Left Outer Join1 to 2
-                    condition expressions:
-                      0 {key} {value}
-                      1 {key} {value}
-                      2 {key} {value}
-                    filter predicates:
-                      0 
-                      1 {(key < 10)}
-                      2 
-                    keys:
-                      0 key (type: string)
-                      1 key (type: string)
-                      2 key (type: string)
-                    outputColumnNames: _col0, _col1, _col5, _col6, _col10, _col11
-                    input vertices:
-                      1 Map 2
-                      2 Map 3
+                  Reduce Output Operator
+                    key expressions: key (type: string)
+                    sort order: +
+                    Map-reduce partition columns: key (type: string)
+                    Statistics: Num rows: 500 Data size: 5312 Basic stats: COMPLETE Column
stats: NONE
+                    value expressions: value (type: string)
+        Reducer 2 
+            Reduce Operator Tree:
+              Join Operator
+                condition map:
+                     Inner Join 0 to 1
+                     Left Outer Join1 to 2
+                condition expressions:
+                  0 {KEY.reducesinkkey0} {VALUE._col0}
+                  1 {KEY.reducesinkkey0} {VALUE._col0}
+                  2 {KEY.reducesinkkey0} {VALUE._col0}
+                filter predicates:
+                  0 
+                  1 {(KEY.reducesinkkey0 < 10)}
+                  2 
+                outputColumnNames: _col0, _col1, _col5, _col6, _col10, _col11
+                Statistics: Num rows: 1100 Data size: 11686 Basic stats: COMPLETE Column
stats: NONE
+                Select Operator
+                  expressions: _col0 (type: string), _col1 (type: string), _col5 (type: string),
_col6 (type: string), _col10 (type: string), _col11 (type: string)
+                  outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
+                  Statistics: Num rows: 1100 Data size: 11686 Basic stats: COMPLETE Column
stats: NONE
+                  File Output Operator
+                    compressed: false
                     Statistics: Num rows: 1100 Data size: 11686 Basic stats: COMPLETE Column
stats: NONE
-                    Select Operator
-                      expressions: _col0 (type: string), _col1 (type: string), _col5 (type:
string), _col6 (type: string), _col10 (type: string), _col11 (type: string)
-                      outputColumnNames: _col0, _col1, _col2, _col3, _col4, _col5
-                      Statistics: Num rows: 1100 Data size: 11686 Basic stats: COMPLETE Column
stats: NONE
-                      File Output Operator
-                        compressed: false
-                        Statistics: Num rows: 1100 Data size: 11686 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
-            Local Work:
-              Map Reduce Local Work
+                    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
 
   Stage: Stage-0
     Fetch Operator



Mime
View raw message