You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pig.apache.org by Yang <te...@gmail.com> on 2012/10/12 00:31:07 UTC

ovoid "::" schema spec after join?

whenever after I do a  C= JOIN A,B
then if I want to refer to some fields, I'd have to specify
A::field1   A::field2 B::field3 B::field4

supposedly if the field names themselves do not conflict, I should not need
to use the A:: prefix,
is this possible?

thanks
Yang

Re: ovoid "::" schema spec after join?

Posted by TianYi Zhu <ti...@facilitatedigital.com>.
Hi Yang,
You can use the them without prefix if there's no conflict.

Thanks,
TianYi

On Fri, Oct 12, 2012 at 9:31 AM, Yang <te...@gmail.com> wrote:

> whenever after I do a  C= JOIN A,B
> then if I want to refer to some fields, I'd have to specify
> A::field1   A::field2 B::field3 B::field4
>
> supposedly if the field names themselves do not conflict, I should not need
> to use the A:: prefix,
> is this possible?
>
> thanks
> Yang
>