HIVE-6984: Analyzing partitioned table with NULL values for the partition column failed with NPE (reviewed by Sergey)

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