pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Reed <br...@yahoo-inc.com>
Subject Re: Proposal for adding user defined ordering to pig
Date Sat, 03 Nov 2007 00:24:35 GMT
Looks good. That is along the lines I was thinking. One suggestion I have is 
to allow constants to be passed to the comparator:

ORDER a BY zipcode USING 
com.mycompany.myproject.MyOrderByClass('specialvariant17');

Any constants would be passed to the constructor.

ben

On Friday 02 November 2007 16:05:47 Alan Gates wrote:
> All,
>
> I've posted a proposal at http://wiki.apache.org/pig/UserDefinedOrdering
> for how to add user defined ordering to pig.  This is being urgently
> requested by some of our users.
>
> Utkarsh, please review this and make sure I properly understood how to
> hook things together in the logical and physical plans.  I'm not 100%
> confident what I proposed will work in the current framework.
>
> Alan.



Mime
View raw message