Hi, Aniket,
Does myLoader implements LoadMetaData? If it does, what schema it
returns? I suspect that your schema for bag does not set twolevelaccess
flag (though we are working to drop it in 0.9).
Daniel
Aniket Mokashi wrote:
Hi,
I have a custom loader that creates and returns a tuple of id, bags. I
want to open these bags and get their contents.
For example-
data = load 'loc' using myLoader() as (id, bag1, bag2);
bag1Content = foreach data generate FLATTEN(bag1);
This works.
But when I do bag1Content = foreach data generate id, FLATTEN(bag1) --it
fails.
How should I fix it?
Thanks,
Aniket