[ https://issues.apache.org/jira/browse/PIG-2583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13269877#comment-13269877 ]
Daniel Dai commented on PIG-2583: --------------------------------- It is right to put in command cache only if it is a Pig statement not a command. However, if an alias is get reused, we should show the last definition, not all. I think we should make use of Graph.scriptCache to do it. > 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 > > > 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