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

Steve DeNeefe commented on PIG-2965:
------------------------------------

Okay, that works, thanks!

I was using it differently, and it didn't work:

{code}
lines = load 'random.pig';
r = foreach lines generate RANDOM('12345');
dump r;
{code}

I didn't understand the difference (now I think I do), but thanks for giving 
this example.  I am glad to see that when using define it works as expected.
                
> RANDOM should allow seed initialization for ease of testing
> -----------------------------------------------------------
>
>                 Key: PIG-2965
>                 URL: https://issues.apache.org/jira/browse/PIG-2965
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Aneesh Sharma
>            Assignee: Jonathan Coveney
>              Labels: newbie
>         Attachments: PIG-2965-0.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to