[ https://issues.apache.org/jira/browse/HIVE-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carl Steinbach updated HIVE-2955: --------------------------------- Component/s: Query Processor Fix Version/s: 0.10.0 @Namit: Please remember to set the fix version field when you mark a ticket as resolved. Thanks. > 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 > Components: Query Processor > Reporter: Navis > Assignee: Navis > Priority: Minor > Fix For: 0.10.0 > > 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