Home | About | Sematext search-lucene.com search-hadoop.com
 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';

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