I meant, why Pig allows such a confused setting?



------------------ ???????? ------------------
??????: "Daniel Dai"<[email protected]>; 
????????: 2015??1??31??(??????) ????2:56
??????: "[email protected]"<[email protected]>; 
????: Re: Recursive value assignment



The late definition will override the previous one.

Daniel

On 1/26/15, 3:07 AM, "[email protected]" <[email protected]> wrote:

>Dear all, 
>
>I try the following code:
>
>```
>data = load 'xxx' as (col: String);
>data = filter data by col != '';
>out = foreach data generate col;
>```
>
>I don't know why pig allow recursive value assignment, as it would be
>confused. I might wonder which 'data' does 'out' relies.
>
>James

Reply via email to