I got it, change to

t1 = FOREACH log GENERATE STRSPLIT ($0, '\u0001', 2); <-- limit change to 2

is ok.

2011/3/7 Yorgo Sun <[email protected]>

> we have problem from running following simple script, it returns empty
> tuple.
> anyone has idea about this issue?
>
> thanks in advance!
>
> ===============
>
> log = LOAD '/usr/hadoop/abc.log' USING TextLoader();
>
> t1 = FOREACH log GENERATE STRSPLIT ($0, '\u0001', 1);
>
> DUMP t1
>
>
>
>
> --
> 孙绍轩 Yorgo Sun
>
>


-- 
孙绍轩 Yorgo Sun

Reply via email to