[ https://issues.apache.org/jira/browse/HIVE-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Namit Jain updated HIVE-2955: ----------------------------- Resolution: Fixed Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Committed. Thanks Navis > Queries consists of metadata-only-query returns always empty value > ------------------------------------------------------------------ > > Key: HIVE-2955 > URL: https://issues.apache.org/jira/browse/HIVE-2955 > Project: Hive > Issue Type: Bug > Reporter: Navis > Assignee: Navis > Priority: Minor > Attachments: HIVE-2955.D2817.1.patch > > > For partitioned table, simple query on partition column returns always null > or empty value, for example, > {code} > create table emppart(empno int, ename string) partitioned by (deptno int); > .. load partitions.. > select distinct deptno from emppart; // empty > select min(deptno), max(deptno) from emppart; // NULL and NULL > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira