Thanks Dmitriy & Pratyush.
I also figured out that there is a file
'contrib/zebra/src/java/org/apache/hadoop/zebra/pig/TableStorer.java',
which seems to have an example of storing output.
Satish
Dmitriy Ryaboy wrote:
Hi Satish,
You can write a StoreFunc that will do whatever you need to do to your output.
Here is an earlier message with some thoughts on writing Pig job
outputs to a database:
http://markmail.org/message/qo7oz3lhywnf43mq
On Mon, Nov 16, 2009 at 10:17 PM, V Satish Kumar <[email protected]> wrote:
I would like the output from my pig task to be stored in a mysql database.
Is there a way of storing this pig output directly into a mysql database?
Thanks,
Satish
.