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 Threaded View
Pig >> mail # user >> Store into existing file


Copy link to this message
-
Re: Store into existing file
You can use rmf.

For example -
===========rmf y; -- clears output

l = load 'x';
store l into 'y';
===========
-Thejas

On 1/24/12 11:36 AM, Yulia Tolskaya wrote:
> Hello Pig Users,
> I was wondering what the best way to store my output into an existing file would be.
> When I was looking on line I found this jira:
>
> https://issues.apache.org/jira/browse/PIG-259
>
> It looks like there was almost an "overwrite" keyword, but it was never finished� It would have been very useful!
>
> Yulia
>
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