hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-12590) Repeated UDAFs with literals can produce incorrect result
Date Fri, 08 Jan 2016 18:52:39 GMT

     [ 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.9.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.9.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)

Mime
View raw message