pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Russell Jurney <russell.jur...@gmail.com>
Subject Does Pig Re-Use FileInputLoadFuncs Objects?
Date Wed, 01 Sep 2010 02:28:16 GMT
Pardon the cross-post: Does Pig ever re-use FileInputLoadFunc objects?  We
suspect state is being retained between different stores, but we don't
actually know this.  Figured I'd ask to verify the hunch.

Our load func for our in-house format works fine with Pig scripts
normally... but I have a pig script that looks like this:

LOAD thing1
SPLIT thing1 INTO thing2, thing3
STORE thing2 INTO thing2
STORE thing3 INTO thing3

LOAD thing4
SPLIT thing4 INTO thing5, thing6
STORE thing5 INTO thing5
STORE thing6 INTO thing6

And it works via PigStorage, but not via our FileInputLoadFunc.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message