zabetak opened a new pull request, #3349:
URL: https://github.com/apache/hive/pull/3349

   ### What changes were proposed in this pull request?
   Compute selectivity for all types of joins in the same way. I don't see a 
particular reason to throw an exception when the `Join` operator is not an 
instance of `HiveJoin`.
   
   ### Why are the changes needed?
   Avoid `RuntimeException` when computing statistics for queries with more 
than `HiveXX` operators.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   `mvn test -Dtest=TestMiniLlapLocalCliDriver -Dqfile=cbo_jdbc_joincost.q`
   
   The test fails with a `RuntimeException` without the changes in this PR.


-- 
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.

To unsubscribe, e-mail: [email protected]

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