You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2010/11/11 05:26:14 UTC
[jira] Commented: (HIVE-1734) Implement map_keys() and map_values()
UDFs
[ 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.