Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig >> mail # user >> Extra new line


+
Mohit Anchlia 2012-10-05, 18:58
Copy link to this message
-
Re: Extra new line
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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB