[
https://issues.apache.org/jira/browse/PIG-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270899#comment-13270899
]
Prashant Kommireddi commented on PIG-2583:
------------------------------------------
Should we let the behavior be similar to standard "history" command on UNIX
shell?
{code}
localhost:~ pkommireddi$ pwd
/Users/pkommireddi
localhost:~ pkommireddi$ date
Tue May 8 15:26:26 PDT 2012
localhost:~ pkommireddi$ whoami
pkommireddi
localhost:~ pkommireddi$ pwd
/Users/pkommireddi
localhost:~ pkommireddi$ history
541 pwd
542 date
543 whoami
544 pwd
545 history
{code}
It might be useful for users while developing/debugging to be able to look at
all declarations of an alias.
> 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
>
>
> 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