Hi Haley

I have loaded it using PigStorage(',').

Donno if I have to explicitly mention the schema while loading


thanks

rakesh

________________________________
From: Haley Miller <haley.mil...@gmail.com>
Sent: Friday, August 26, 2016 5:42:08 PM
To: user@pig.apache.org
Subject: Re: Filter with string not working

Assuming you are using pig loader since you didn't mention it. I believe it
uses tab delimiters by default, so make sure your load statement is
specifying the comma.

On Aug 26, 2016 6:51 AM, "rakesh sharma" <rakeshsharm...@hotmail.com> wrote:

> Hi All
>
>
> I am trying to do a filter of a csv file.
>
> the statement is
>
> A = filter B by ($0 == 'type');
>
> dump A;
>
>
> but it doesnt return anything, I have faced this issue before as well. Is
> there any setting that I need to set.
>
>
> thanks
>
> rakesh
>

Reply via email to