Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Getting Schema Info for Store Func (Old Interface Pre LoadStore Redesgin)


Copy link to this message
-
Re: Getting Schema Info for Store Func (Old Interface Pre LoadStore  Redesgin)
Corbin Hoenes 2010-03-16, 19:04
+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