Grokbase Groups Pig user May 2009
Thank you, Chris, I am writing correlated/ uncorrelated subqueries. I will
see how they run.

2009/5/28 Chris Olston <>
Can you be more specific?

If it's an uncorrelated subquery then obviously you can use temp
files/tables. If it's correlated but can be rewritten into a join or
something then you can use Pig's join command. If it cannot be
rewritten/flattened then I'm not sure off the top of my head. It'd be good
to see an example of an SQL query with an unflattenable correlated subquery
that you want to run in Pig Latin, and I can take a crack at it :)


On 5/28/09 7:14 PM, "George Pang" wrote:

Hi users,
Some advices on how to do subquery in pig latin? Some examples?


Christopher Olston, Ph.D.
Sr. Research Scientist
Yahoo! Research

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
groupuser @
categoriespig, hadoop
postedMay 29, '09 at 2:14a
activeMay 30, '09 at 6:26a

2 users in discussion

George Pang: 2 posts Chris Olston: 1 post



site design / logo © 2021 Grokbase