[
https://issues.apache.org/jira/browse/HIVE-3125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547921#comment-13547921
]
Hudson commented on HIVE-3125:
------------------------------
Integrated in Hive-trunk-hadoop2 #54 (See
[https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
HIVE-3125 sort_array does not work with LazyPrimitive Philip Tromans (via
egc) (Revision 1353203)
Result = ABORTED
ecapriolo :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1353203
Files :
* /hive/trunk/data/files/primitive_type_arrays.txt
*
/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFSortArray.java
* /hive/trunk/ql/src/test/queries/clientpositive/udf_sort_array.q
* /hive/trunk/ql/src/test/results/clientpositive/udf_sort_array.q.out
> sort_array doesn't work with LazyPrimitive
> ------------------------------------------
>
> Key: HIVE-3125
> URL: https://issues.apache.org/jira/browse/HIVE-3125
> Project: Hive
> Issue Type: Bug
> Components: UDF
> Affects Versions: 0.9.0
> Reporter: Philip Tromans
> Assignee: Philip Tromans
> Fix For: 0.10.0
>
> Attachments: HIVE-3125.1.patch.txt, HIVE-3125.2.patch.txt
>
>
> The sort_array function doesn't work against data that's actually come out of
> a table. The test suite only covers constants given in the query.
> If you try and use sort_array on an array from a table, then you get a
> ClassCastException that you can't convert LazyX to Comparable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira