libo created HIVE-25175:
---------------------------

             Summary: Aggregate Function on partitioned column return wrong 
result when there is an empty partition
                 Key: HIVE-25175
                 URL: https://issues.apache.org/jira/browse/HIVE-25175
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 2.0.1
            Reporter: libo


hive2.0.1
create table testmax(id int) partitioned by (dt int);
insert into table testmax partition(dt=11) values(1);
alter table testmax add partition(dt=22);
select max(dt) from testmax;
The result is:
22
expected result is:
11

when use hive2.3.3 ,the result is right , but I can not find out which issue 
fixed this



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to