Not sure I understand what you want, but sample should be random.
Even if there was a seed you still should get different results for each
run.

If you want the same results, don't use sample but specify lines somehow
(based on some ID?) which you want to see

regards, Tomas


On Fri, May 15, 2015 at 11:27 AM, 李运田 <[email protected]> wrote:

> I USE
>  table1 = load 'school' using org.apache.hcatalog.pig.HCatLoader();
> table2 = sample table 0.01;
> every time I dump table2 ,I get different result, Is there one sample
> function with seed? so  the result is not changed every time.
> thank you.

Reply via email to