You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Bill Graham (Commented) (JIRA)" <ji...@apache.org> on 2012/03/14 04:41:40 UTC

[jira] [Commented] (PIG-2583) Add Grunt command to list the statements in cache

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

Bill Graham commented on PIG-2583:
----------------------------------

Great idea. What about {{history}} instead of {{list}}? It's similar to bash and groovy shell. I couldn't find an irb equivalent.
                
> 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
>            Reporter: Daniel Dai
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.11
>
>
> 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