[
https://issues.apache.org/jira/browse/PIG-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271937#comment-13271937
]
Allan AvendaƱo commented on PIG-2583:
-------------------------------------
Something like this?
grunt> history -n
(1) A = load 'data/abs' using PigStorage('|') as (name:chararray, id1:int,
id2:int, id3:int);
(2) B = group A by id1;
(3) C = order A by id2;
grunt> history
A = load 'data/abs' using PigStorage('|') as (name:chararray, id1:int, id2:int,
id3:int);
B = rank A by id1;
C = order A by id2;
> Add Grunt command to list the statements in cache
> -------------------------------------------------
>
> Key: PIG-2583
> URL: https://issues.apache.org/jira/browse/PIG-2583
> Project: Pig
> Issue Type: Improvement
> Affects Versions: 0.10.0
> Reporter: Daniel Dai
> Assignee: Allan AvendaƱo
> Priority: Minor
> Labels: newbie
> Fix For: 0.11
>
> Attachments: gruntHistory.patch, gruntHistory1.patch,
> gruntHistory2.patch
>
>
> It is convenient to list statements in cache:
> grunt> a = load '1.txt';
> grunt> b = foreach a generate $0, $1;
> grunt> list
> a = load '1.txt';
> b = foreach a generate $0, $1;
--
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