Emmett Shear
Tue, 16 Sep 2008 16:01:05 -0700
I have a log file I'm writing explicitly to process in pig. The data for
each line is a set of key-value pairs, which seems pretty much perfect as a
fit for Pig, however I'm having some trouble. It's easy to parse a space
delimited list into a tuple with PigStorage(' '); is there an easy way to
parse "k=v k=v k=v" key value pairs into a map? I have total control over
the log format.
Thanks,
Emmett