You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2011/08/01 12:05:16 UTC

[jira] [Updated] (HIVE-1734) Implement map_keys() and map_values() UDFs

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

Amareshwari Sriramadasu updated HIVE-1734:
------------------------------------------

    Status: Open  (was: Patch Available)

The ordering of the key/value elements in the output array does not seem correct. 

> Implement map_keys() and map_values() UDFs
> ------------------------------------------
>
>                 Key: HIVE-1734
>                 URL: https://issues.apache.org/jira/browse/HIVE-1734
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>    Affects Versions: 0.6.0
>            Reporter: Carl Steinbach
>            Assignee: Carl Steinbach
>         Attachments: HIVE-1734-mapudf.1.patch.txt, MapKeys.java, MapValues.java
>
>
> Implement the following UDFs:
> <array> map_keys(<map>)
> and
> <array> map_values(<map>)
> map_keys() takes a map as input and returns an array consisting of the key values in the supplied map.
> Similarly, map_values() takes a map as input and returns an array containing the map value fields.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira