Re: Question on how GroupBy and Join works in Pig

2012-02-09 Thread Dmitriy Ryaboy
What are you using to load the data? It sounds like your loader is reporting a desired schema, but does not actually convert the data into the schema. So it tells pig to expect ints, but gives it byte arrays. On Feb 6, 2012, at 10:48 AM, praveenesh kumar wrote: > Hi everyone, > > I have a qu

Question on how GroupBy and Join works in Pig

2012-02-06 Thread praveenesh kumar
Hi everyone, I have a question on behavior of how Group By and Join works in Pig : Suppose I have Two data files: 1. cust_info 2. premium_data cust_info: ID name region 2321 Austin Pondicherry 2375 Martin California 4286 Lisa Chennai premium_data: ID premiumstart_year