HIVE-8161 : [CBO] Partition pruner doesnt handle unpartitioned table in non-strict mode correctly (Ashutosh Chauhan via John Pullokkkaran)

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