[
https://issues.apache.org/jira/browse/PIG-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13262370#comment-13262370
]
Jonathan Coveney commented on PIG-2666:
---------------------------------------
In the short term, it seems fair to ensure setLocation is called on the
frontend...in the (ideally near) future, though, we need to work on working
some lifecycle into LoadFunc. The fact that there is a convention of stuffing a
bunch of logic in setLocation is pretty confusing and suboptimal.
> 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
> Assignee: Daniel Dai
> 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