You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2011/03/28 15:01:05 UTC

[jira] [Created] (PIG-1939) order-by statement should support project-range to-end in any position among the sort columns if input schema is known

order-by statement should support project-range to-end in any position among the sort columns if input schema is known
----------------------------------------------------------------------------------------------------------------------

                 Key: PIG-1939
                 URL: https://issues.apache.org/jira/browse/PIG-1939
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Thejas M Nair
            Assignee: Thejas M Nair
             Fix For: 0.9.0


In order-by statements, if the input schema is known (non-null), then there should not be any restrictions on the use of project-to-end project-range expressions (eg. x ..).
The restriction that it has to be the last sort column should be applicable only when the input schema is null .


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (PIG-1939) order-by statement should support project-range to-end in any position among the sort columns if input schema is known

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair resolved PIG-1939.
--------------------------------

    Resolution: Fixed

Unit test and test-patch passed. Patch committed to trunk and 0.9 branch.


> order-by statement should support project-range to-end in any position among the sort columns if input schema is known
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1939
>                 URL: https://issues.apache.org/jira/browse/PIG-1939
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1939.1.patch
>
>
> In order-by statements, if the input schema is known (non-null), then there should not be any restrictions on the use of project-to-end project-range expressions (eg. x ..).
> The restriction that it has to be the last sort column should be applicable only when the input schema is null .

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PIG-1939) order-by statement should support project-range to-end in any position among the sort columns if input schema is known

Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022239#comment-13022239 ] 

Daniel Dai commented on PIG-1939:
---------------------------------

+1 if tests pass.

> order-by statement should support project-range to-end in any position among the sort columns if input schema is known
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1939
>                 URL: https://issues.apache.org/jira/browse/PIG-1939
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1939.1.patch
>
>
> In order-by statements, if the input schema is known (non-null), then there should not be any restrictions on the use of project-to-end project-range expressions (eg. x ..).
> The restriction that it has to be the last sort column should be applicable only when the input schema is null .

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-1939) order-by statement should support project-range to-end in any position among the sort columns if input schema is known

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair updated PIG-1939:
-------------------------------

    Attachment: PIG-1939.1.patch

> order-by statement should support project-range to-end in any position among the sort columns if input schema is known
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: PIG-1939
>                 URL: https://issues.apache.org/jira/browse/PIG-1939
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1939.1.patch
>
>
> In order-by statements, if the input schema is known (non-null), then there should not be any restrictions on the use of project-to-end project-range expressions (eg. x ..).
> The restriction that it has to be the last sort column should be applicable only when the input schema is null .

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira