pig-user  

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

Corbin Hoenes
Tue, 16 Mar 2010 12:05:45 -0700

+1 Zaki and I are both interested if this is possible anyone know?

On Mar 15, 2010, at 6:08 PM, zaki rahaman wrote:

> 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