RE: Determining the group-by column

2009-02-16 Thread Santhosh Srinivasan
-Original Message- From: Dmitriy Ryaboy [mailto:dvrya...@gmail.com] Sent: Sunday, February 15, 2009 9:07 PM To: pig-dev@hadoop.apache.org Subject: Determining the group-by column We are working on the Pig Logical Optimizer, and running into some difficulty navigating the plan. If we run explain on a

Determining the group-by column

2009-02-15 Thread Dmitriy Ryaboy
We are working on the Pig Logical Optimizer, and running into some difficulty navigating the plan. If we run explain on a query with a CoGroup, we get something like: Cogroup || ||-- Project [0] | |-- ForEach | What we want to do is determine that this particular Cogrou