Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Using the "fs" command in pig


Copy link to this message
-
Re: Using the "fs" command in pig
Shahab Yunus 2014-03-20, 16:27
Not an exact solution but an idea.

You can use the STRSPLIT function first in Pig to parse your variable
'path'.
http://pig.apache.org/docs/r0.11.1/func.html#strsplit

Then for each split-ed path you can use the STORE command.
http://pig.apache.org/docs/r0.7.0/piglatin_ref1.html#Store+vs.+Dump

Regards,
Shahab
On Wed, Mar 19, 2014 at 8:18 PM, Andy Srine <[EMAIL PROTECTED]> wrote: