1) If you want to remove the directory where you are going to perform a STORE operation, then it is better to remove it first.
rmf output/somedir
STORE xyz INTO output/somedir USING PIGSTORAGE()
2) How do I use Pig via Java?
Look at the PigServer usage.
rmf output/somedir
STORE xyz INTO output/somedir USING PIGSTORAGE()
2) How do I use Pig via Java?
Look at the PigServer usage.
No comments:
Post a Comment