[ 
https://issues.apache.org/jira/browse/HIVE-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904396#action_12904396
 ] 

Pierre Huyn commented on HIVE-1130:
-----------------------------------

Hi John,

It appears that the call ObjectInspectorUtils.compare(myagg.max, xInputOI, px, 
xInputOI), which tries to compare 2 integer writables, failed in casting. Here 
is a fragment of the stack trace:



> Create argmin and argmax
> ------------------------
>
>                 Key: HIVE-1130
>                 URL: https://issues.apache.org/jira/browse/HIVE-1130
>             Project: Hadoop Hive
>          Issue Type: Improvement
>    Affects Versions: 0.7.0
>            Reporter: Zheng Shao
>            Assignee: Pierre Huyn
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1130.1.patch, HIVE-1130.2.patch
>
>
> With HIVE-1128, users can already do what argmax and argmin does.
> But it will be helpful if we provide these functions explicitly so people 
> from maths/stats background can use it more easily.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to