Hi all,

Sorry to bother you guys, I used rm FILE_PATH to delete the file in pig
script, but sometimes if the file does not exist, or I am not sure if it
exists, this statement will give some error when I run it.

So is there any method so that I can delete a file in pig script only after
checking the file exists?

Thanks!

Reply via email to