you can check this:https://issues.apache.org/jira/browse/PIG-3900
but ,it is not solved.








At 2015-05-19 11:38:44, "李运田" <cumt...@163.com> wrote:
>table1  = load 'mytable' using org.apache.hcatalog.pig.HCatLoader();
>table2 = sample table1 0.01;
>store table2 into 'table2' using org.apache.hcatalog.pig.HCatStorer();
>table3 = filter table2 by a > 10;
>store table3 into 'table3' using org.apache.hcatalog.pig.HCatStorer();
>I find that table3's data  is not  from table2.
>because every 'store'  is from beginning. and sample  is random,so the result 
>is different.
>so  can I use some function to make that table3's data  is  from table2.,is 
>there some sample seeds in pig?

Reply via email to