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:
> It looks like there was almost an "overwrite" keyword, but it was never finishedï¿½ It would have been very useful!