You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Edward Capriolo (JIRA)" <ji...@apache.org> on 2012/05/26 02:20:25 UTC

[jira] [Commented] (HIVE-149) Aggregate functions MIN and MAX should support all types

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

Edward Capriolo commented on HIVE-149:
--------------------------------------

It is generic. It supports everything reasonable it seems.

{noformat}
 if (!ObjectInspectorUtils.compareSupported(oi)) {
      throw new UDFArgumentTypeException(parameters.length - 1,
          "Cannot support comparison of map<> type or complex type containing map<>.");
    }
{noformat}

                
> Aggregate functions MIN and MAX should support all types
> --------------------------------------------------------
>
>                 Key: HIVE-149
>                 URL: https://issues.apache.org/jira/browse/HIVE-149
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: YihueyChyi
>            Assignee: David Phillips
>            Priority: Critical
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira