Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
For partitioned table, simple query on partition column returns always null or empty value, for example,
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
Attachments
Attachments
Issue Links
- duplicates
-
HIVE-4386 max() and min() return NULL on partition column; distinct() returns nothing
- Resolved