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

Dmitriy V. Ryaboy commented on PIG-1251:
----------------------------------------

When we first added SortInfo there was some talk (from me :)) about its 
functionality overlapping with ResourceSchema, which also knows sort order, and 
how we should get rid of SortInfo and propagate ResourceSchema with the 
appropriate sortedness, instead, once LSR goes in.  How do you feel about this 
now? Should we open a ticket, or are there reasons to keep things the way they 
are?

> Move SortInfo calculation earlier in compilation 
> -------------------------------------------------
>
>                 Key: PIG-1251
>                 URL: https://issues.apache.org/jira/browse/PIG-1251
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.7.0
>
>         Attachments: pig-1251.patch, pig-1251_1.patch
>
>
> In LSR Pig does Input Output Validation by calling hadoop's checkSpecs() A 
> storefunc might need schema to do such a validation. So, we should call 
> checkSchema() before doing the validation. checkSchema() in turn requires 
> SortInfo which is calculated later in compilation phase. We need to move it 
> earlier in compilation phase. 

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