Laljo John Pullokkaran created HIVE-12590:
---------------------------------------------

             Summary: Repeated UDAFs with literals can produce incorrect result
                 Key: HIVE-12590
                 URL: https://issues.apache.org/jira/browse/HIVE-12590
             Project: Hive
          Issue Type: Bug
          Components: Query Planning
    Affects Versions: 1.2.1, 1.1.1, 1.0.1, 2.0.0
            Reporter: Laljo John Pullokkaran
            Assignee: Laljo John Pullokkaran
            Priority: Critical


Repeated UDAF with literals could produce wrong result.
This is not a common use case, nevertheless a bug.

hive> select max('pants'), max('pANTS') from t1 group by key;
 Total MapReduce CPU Time Spent: 0 msec
OK
pANTS   pANTS
pANTS   pANTS
pANTS   pANTS
pANTS   pANTS
pANTS   pANTS
Time taken: 296.252 seconds, Fetched: 5 row(s)






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to