pig-user  

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

Dmitriy Ryaboy
Tue, 16 Mar 2010 12:25:57 -0700

Hi guys, I think these earlier threads answer the question (0.6 -- no; 0.7
-- yes).

http://www.mail-archive.com/pig-u...@incubator.apache.org/msg00632.html
http://hadoop.markmail.org/search/sean+timm+storefunc+order:date-forward

Zaki: Olga just sent an email to dev about forking 0.7 for release, so now
might be a good time if you are planning on upgrading when 0.7 get released.
It's pretty stable, API-wise.

-D

On Tue, Mar 16, 2010 at 12:04 PM, Corbin Hoenes <cor...@tynt.com> wrote:

> +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
>
>