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

Dmitriy V. Ryaboy commented on PIG-2965:
----------------------------------------

[~sdeneefe] are you sure you are using it right? I just tested and it works.

Here's a test script you can run a few times :
{code}
define rand RANDOM('12345');

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

run using `pig -x local random.pig 2>/dev/null`
                
> 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