Yeah I do that all the time.
STORE result INTO 'out-$date';
Or you could run the pig script then after it's done move the result aside.
On May 20, 2011, at 6:51 PM, Renato Marroquín Mogrovejo<[EMAIL PROTECTED]> wrote:
> Hi, I have a sequence of jobs which are run daily and usually the logs
> and results are erased every time they have to be re-run. Now we want
> to keep those logs and results, but if the results already exist, the
> pig job fails. I thought that maybe setting the results' name + date
> would solve it for me. Can I do that from pig? Do you guys have any
> other suggestions?
> Thanks in advance.
> Renato M.