How to check if directory exists in Pig, if not create directory


#1

Hi all,

In Pig how to check if directory is present at specific path, I want to check if directory is present or not if not create dir.

please advice!
Thanks!