[ 
https://issues.apache.org/jira/browse/PIG-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629578#action_12629578
 ] 

Alan Gates commented on PIG-402:
--------------------------------

I think that's perfectly reasonable.  There is a performance penalty for 
wrapping in a tuple.  But user defined comparators are expected to be the 
exception, especially now that we provide numeric and descending order sort 
(the only two reasons we added the user defined comparators to begin with).

> order by on single field with user defined comparator fails
> -----------------------------------------------------------
>
>                 Key: PIG-402
>                 URL: https://issues.apache.org/jira/browse/PIG-402
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Shravan Matthur Narayanamurthy
>             Fix For: types_branch
>
>
> register udf.jar;
> a = load 'data';
> c = order a by $0 using MyOrderUDF();
> store c into 'out',

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to