pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIG-2666) LoadFunc.setLocation() is not called when pig script only has Order By
Date Wed, 25 Apr 2012 21:24:18 GMT

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

Daniel Dai commented on PIG-2666:
---------------------------------

Yes, that's the motivation of the patch. It try to always call setLocation on FE.
                
> LoadFunc.setLocation() is not called when pig script only has Order By
> ----------------------------------------------------------------------
>
>                 Key: PIG-2666
>                 URL: https://issues.apache.org/jira/browse/PIG-2666
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.3
>            Reporter: Francis Liu
>         Attachments: PIG-2666-0.patch
>
>
> HCatLoader.setLocation() needs setLocation() called on the frontend. This doesn't happen
with this pig script:
> A = LOAD 'foo' USING org.apache.hcatalog.pig.HCatLoader();
> B = ORDER A BY id;
> DUMP B;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message