RE: two-level access problem?

2009-11-03 Thread Pradeep Kamath
at a solution. Otherwise Resource Schema would also need to have this notion of two level access for bag fields. Pradeep. -Original Message- From: Dmitriy Ryaboy [mailto:dvrya...@gmail.com] Sent: Tuesday, November 03, 2009 12:30 PM To: pig-dev@hadoop.apache.org Subject: Re: two-level access

Re: two-level access problem?

2009-11-03 Thread Dmitriy Ryaboy
Thanks Pradeep, I saw that comment. I guess my question is, given the solution this comment describes, what are you referring to in the Load/Store redesign doc when you say we must fix the two level access issues with schema of bags in current schema before we make these changes, otherwise that

RE: two-level access problem?

2009-11-03 Thread Pradeep Kamath
From comments in Schema.java: // In bags which have a schema with a tuple which contains // the fields present in it, if we access the second field (say) // we are actually trying to access the second field in the // tuple in the bag. This is currently true for two cases: // 1)