HIVE-8168: With dynamic partition enabled fact table selectivity is not taken into account when generating the physical plan (Use CBO cardinality using physical plan generation) (Prasanth J via Gunther Hagleitner)

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