Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Extra new line


Copy link to this message
-
Re: Extra new line
Prashant Kommireddi 2012-10-05, 19:00
filter by $0 != '';

Would that work?

On Fri, Oct 5, 2012 at 11:58 AM, Mohit Anchlia <[EMAIL PROTECTED]>wrote:

> Is there a way to remove extra new line in pig. Something that remove ^$
> regex? My input looks like
>
> 1,a
> 1,b
>
> 2,a
> 2,b
>