hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phabricator (Commented) (JIRA)" <>
Subject [jira] [Commented] (HIVE-2279) Implement sort(array) UDF
Date Wed, 04 Jan 2012 02:28:39 GMT


Phabricator commented on HIVE-2279:

cwsteinbach has requested changes to the revision "HIVE-2279 [jira] Implement sort(array)

  ql/src/test/queries/clientpositive/udf_sort_array.q:8 Please add EXPLAIN queries.
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ Fix indentation.
  ql/src/test/results/clientpositive/udf_sort_array.q.out:13 "sort_array(sort_array(...))"?
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ "Sorts the
input array in ascending order according to the natural ordering of the array elements."
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ Please add
a negative testcase that exercises these code paths.
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ What happens
if I try to sort an array of arrays, or array of structs?
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ The return
type should be another ARRAY, not a string.
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ This method
needs to return another ARRAY, not a string containing the concatenated, sorted input elements.
Take a look at the array() UDF for hints on how to return an array from a UDF.
  ql/src/java/org/apache/hadoop/hive/ql/udf/generic/ Indentation.


> Implement sort(array) UDF
> -------------------------
>                 Key: HIVE-2279
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>            Reporter: Carl Steinbach
>            Assignee: Zhenxiao Luo
>         Attachments: HIVE-2279.D1059.1.patch, HIVE-2279.D1101.1.patch, HIVE-2279.D1107.1.patch

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message