HIVE-5921 : Better heuristics for worst case statistics estimates for join, limit and filter operator (Prasanth J via Harish Butani)

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1548331 13f79535-47bb-0310-9956-ffa450edef68