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/branches/branch-0.14@1633468 13f79535-47bb-0310-9956-ffa450edef68