kasakrisz commented on a change in pull request #1184:
URL: https://github.com/apache/hive/pull/1184#discussion_r460189193



##########
File path: 
ql/src/test/results/clientpositive/perf/tez/constraints/cbo_query84.q.out
##########
@@ -56,24 +56,24 @@ CBO PLAN:
 HiveProject(customer_id=[$0], customername=[$1])
   HiveSortLimit(sort0=[$2], dir0=[ASC], fetch=[100])
     HiveProject(customer_id=[$2], customername=[$6], c_customer_id=[$2])
-      HiveJoin(condition=[=($8, $4)], joinType=[inner], algorithm=[none], 
cost=[not available])
-        HiveJoin(condition=[=($1, $3)], joinType=[inner], algorithm=[none], 
cost=[not available])
-          HiveJoin(condition=[=($0, $1)], joinType=[inner], algorithm=[none], 
cost=[not available])
+      HiveJoin(condition=[=($8, $4)], joinType=[inner], 
algorithm=[CommonJoin], cost=[not available])

Review comment:
       Added logic to reset the `joinAlgorithm` back to `none` in all 
`HiveJoin` nodes after calculating the cost and switching back the 
MetadataProvider




----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to