kgyrtkirk commented on a change in pull request #1562:
URL: https://github.com/apache/hive/pull/1562#discussion_r512594208



##########
File path: ql/src/test/results/clientpositive/perf/tez/constraints/query54.q.out
##########
@@ -202,156 +202,154 @@ Stage-0
                                           predicate:(_col1 <= _col3)
                                           Merge Join Operator [MERGEJOIN_294] 
(rows=15218525 width=12)
                                             
Conds:(Inner),Output:["_col0","_col1","_col3"]
-                                          <-Reducer 15 [CUSTOM_SIMPLE_EDGE]
+                                          <-Reducer 20 [CUSTOM_SIMPLE_EDGE]
                                             PARTITION_ONLY_SHUFFLE [RS_99]
                                               Filter Operator [FIL_98] 
(rows=608741 width=12)
                                                 predicate:(_col2 <= _col1)
                                                 Merge Join Operator 
[MERGEJOIN_291] (rows=1826225 width=12)
                                                   
Conds:(Inner),Output:["_col0","_col1","_col2"]
                                                 <-Map 9 [CUSTOM_SIMPLE_EDGE] 
vectorized
-                                                  PARTITION_ONLY_SHUFFLE 
[RS_327]

Review comment:
       this is hightly unfortunate:
   the jsonexplain api "tells" the vertex about the outgoing edge type by 
calling [this 
method](https://github.com/apache/hive/blob/db895f374bf63b77b683574fdf678bfac91a5ac6/common/src/java/org/apache/hadoop/hive/common/jsonexplain/Vertex.java#L308)
 from 
[here](https://github.com/apache/hive/blob/db895f374bf63b77b683574fdf678bfac91a5ac6/common/src/java/org/apache/hadoop/hive/common/jsonexplain/Stage.java#L115)
   
   since a single vertex can have multiple outgoing edges - setting the type of 
one-of-them is problematic - I think we may want to consider to simple remove 
this tagging of vertices
   
   instead...we should consider renaming some of the edge types...like 
`CUSTOM_SIMPLE_EDGE` to `PARTITION_ONLY`
   




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to