hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1734) Implement map_keys() and map_values() UDFs
Date Thu, 11 Nov 2010 04:26:14 GMT

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

Namit Jain commented on HIVE-1734:
----------------------------------

Eldon, you need to run all the tests and modify FunctionRegistry to add a corresponding udf.
You also add to add unit tests for these functions.

Also, it would be simpler to add a patch containing all the changes instead of different files
separately

> 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: 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message