[ https://issues.apache.org/jira/browse/HIVE-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13080844#comment-13080844 ]
Hudson commented on HIVE-1734: ------------------------------ Integrated in Hive-trunk-h0.21 #879 (See [https://builds.apache.org/job/Hive-trunk-h0.21/879/]) HIVE-1734. Implement map_keys() and map_values() UDFs. (Carl Steinbach via amareshwari) amareshwari : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1154816 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFMapValues.java * /hive/trunk/ql/src/test/results/clientpositive/show_functions.q.out * /hive/trunk/ql/src/test/queries/clientpositive/udf_map_values.q * /hive/trunk/ql/src/test/queries/clientnegative/udf_map_keys_arg_type.q * /hive/trunk/ql/src/test/results/clientnegative/udf_map_values_arg_type.q.out * /hive/trunk/ql/src/test/results/clientpositive/udf_map_keys.q.out * /hive/trunk/ql/src/test/queries/clientnegative/udf_map_values_arg_num.q * /hive/trunk/ql/src/test/results/clientnegative/udf_map_keys_arg_num.q.out * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFMapKeys.java * /hive/trunk/ql/src/test/results/clientpositive/udf_map_values.q.out * /hive/trunk/ql/src/test/results/clientnegative/udf_map_keys_arg_type.q.out * /hive/trunk/ql/src/test/queries/clientpositive/udf_map_keys.q * /hive/trunk/ql/src/test/queries/clientnegative/udf_map_values_arg_type.q * /hive/trunk/ql/src/test/results/clientnegative/udf_map_values_arg_num.q.out * /hive/trunk/ql/src/test/queries/clientnegative/udf_map_keys_arg_num.q * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java > 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 > Fix For: 0.8.0 > > Attachments: HIVE-1734-mapudf.1.patch.txt, > HIVE-1734-mapudf.2.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