[ 
https://issues.apache.org/jira/browse/PIG-876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-876:
---------------------------

        Fix Version/s: 0.4.0
    Affects Version/s: 0.3.0
               Status: Patch Available  (was: Open)

> limit changes order of order-by to ascending
> --------------------------------------------
>
>                 Key: PIG-876
>                 URL: https://issues.apache.org/jira/browse/PIG-876
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Thejas M Nair
>            Assignee: Daniel Dai
>             Fix For: 0.4.0
>
>         Attachments: PIG-876-1.patch
>
>
> grunt> a = load 'students.txt' as (c1,c2,c3,c4);
> grunt> s = order a by c1 desc;
> grunt> dump s;
> (zxldf,M,21,12.56)
> (uhsdf,M,34,12.11)
> (qwer,F,21,14.44)
> (qwer,F,23,145.5)
> (oiue,M,54,23.33)
> (asdfxc,M,23,12.44)
> grunt> l = limit s 3;
> grunt> dump l;
> (asdfxc,M,23,12.44)
> (oiue,M,54,23.33)
> (qwer,F,21,14.44)

-- 
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