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


Reply via email to