You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Zheng Shao (JIRA)" <ji...@apache.org> on 2009/11/03 09:53:59 UTC

[jira] Resolved: (HIVE-554) Add GenericUDF to create arrays, maps

     [ https://issues.apache.org/jira/browse/HIVE-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zheng Shao resolved HIVE-554.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.5.0
     Release Note: HIVE-554. Add GenericUDF to create arrays, maps. (Paul Yang via zshao)
     Hadoop Flags: [Reviewed]

Committed. Thanks Paul!

> Add GenericUDF to create arrays, maps
> -------------------------------------
>
>                 Key: HIVE-554
>                 URL: https://issues.apache.org/jira/browse/HIVE-554
>             Project: Hadoop Hive
>          Issue Type: New Feature
>            Reporter: Zheng Shao
>            Assignee: Paul Yang
>             Fix For: 0.5.0
>
>         Attachments: HIVE-554.1.patch, HIVE-554.2.patch
>
>
> Here is an example:
> {code}
> SELECT array(1,2,3)[3], map("a":1,"b":2,"c":3)["a"], struct(user_id:3, revenue: sum(rev))
> FROM table
> GROUP BY user_id;
> {code}
> This is relatively easy to do with the GenericUDF framework, and will greatly increase the flexibility of the language.

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