[
https://issues.apache.org/jira/browse/HIVE-12590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Chauhan updated HIVE-12590:
------------------------------------
Attachment: HIVE-12590.8.patch
> 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.0.1, 1.1.1, 1.2.1, 2.0.0
> Reporter: Laljo John Pullokkaran
> Assignee: Ashutosh Chauhan
> Priority: Critical
> Attachments: HIVE-12590.2.patch, HIVE-12590.3.patch,
> HIVE-12590.4.patch, HIVE-12590.4.patch, HIVE-12590.5.patch,
> HIVE-12590.6.patch, HIVE-12590.7.patch, HIVE-12590.8.patch, HIVE-12590.patch
>
>
> 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)