-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pigpen.core store functions don't quite work #173
Comments
This one is a little counter-intuitive. When you call the store commands, pigpen doesn't immediately write the output to a file. The reason for this is that you might want to store many things and have them all run at once. What's returned by the store commands is just a query plan, just like any other operator. You can call pig/dump on the result to execute it. It will return both the results, and write them to a file. We have considered adding a pig/run to force execution (and be explicit that we were looking for store commands to write), but it's been lower priority since pig/dump does the same thing. -Matt On Wednesday, February 24, 2016 at 12:18 AM, Punit Naik wrote:
|
Thanks a lot @mbossenbroek for clearing my doubts. |
I have a relation called data the dump of which looks like this:
But when I do a
(pig/store-tsv "test.tsv" data)
, it executes but does not create any file in the working directory. Same goes topig/store-string
.What am I doing wrong?
The text was updated successfully, but these errors were encountered: