You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by Johannes Zillmann <jz...@101tec.com> on 2008/01/31 21:06:30 UTC

providing configuration to StoreFunc

Hi,

i'm just in the need to implement a custom StoreFunc which persist 
tuple's to a database. The mapping between tuple values and table 
columns is userdefined, so i don't know that when implementing the 
StoreFunc.
So i need to transfer various configuration values from the pig "job" 
specification to the instantiated StoreFunc.
Of cause i can transform all those values to strings and can use the 
StoreFunc contructor, but seems to me more like a hack.

So i wonder if you planned to introduce a configuration system like 
hadoop or anything similar?

I found https://issues.apache.org/jira/browse/PIG-66 which i think 
expresses the same needs. It is said that 
https://issues.apache.org/jira/browse/PIG-32 solves that eventually.
Taken a quick look at the patch for PIG-32 it does not seems to resolve 
PIG-66.
I'm wrong ?

best regards
Johannes

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
101tec GmbH

Halle (Saale), Saxony-Anhalt, Germany
http://www.101tec.com