pig-user  

Getting Schema Info for Store Func (Old Interface Pre LoadStore Redesgin)

zaki rahaman
Mon, 15 Mar 2010 17:08:55 -0700

Hi,

I was wondering where I could get the schema information (basically the
output of 'describe') to use in a StoreFunc. I'd like to get the schema for
all tuples in a given bag ahead of time (assuming all tuples in the bag
share a common schema), and construct appropriate key names for encoding
Tuples in JSON, thus preserving whatever aliases were used to load data in
the script.

Any help would be appreciated.

As a sidebar, is it now the appropriate time to work on a version of such a
StoreFunc with the new redesigned spec (links to docs?) Or is it okay to
hold off for now?

-- 
Zaki Rahaman