|
|
Sarah Mohamed 2012-12-17, 01:53
PhysicalPlan.getLeaves() return a list of leaves, Most of the cases it's only one"the root", is there any cases that the physical plan will have more than one leaf ?
Thanks Sarah
+
Sarah Mohamed 2012-12-17, 01:53
-
Re: PhysicalPlan leaves
Jonathan Coveney 2012-12-18, 02:24
Try it with joins, I think 2012/12/16 Sarah Mohamed <[EMAIL PROTECTED]>
> PhysicalPlan.getLeaves() return a list of leaves, Most of the cases it's > only one"the root", is there any cases that the physical plan will have > more than one leaf ? > > Thanks > Sarah >
+
Jonathan Coveney 2012-12-18, 02:24
-
Re: PhysicalPlan leaves
Sarah Mohamed 2012-12-19, 19:36
Peace be on you, Jonathan, It gives one leaf also
-- Regards, Sarah M. Hassan
On Tue, Dec 18, 2012 at 4:24 AM, Jonathan Coveney <[EMAIL PROTECTED]>wrote:
> Try it with joins, I think > > > 2012/12/16 Sarah Mohamed <[EMAIL PROTECTED]> > > > PhysicalPlan.getLeaves() return a list of leaves, Most of the cases it's > > only one"the root", is there any cases that the physical plan will have > > more than one leaf ? > > > > Thanks > > Sarah > > >
+
Sarah Mohamed 2012-12-19, 19:36
-
Re: PhysicalPlan leaves
Jonathan Coveney 2012-12-19, 21:29
If you really want to be sure, what I would do is put a debug statement in PigServer.launchPlan and just look at the PhysicalPlan object for a semi-complicated script. There definitely will be forking paths, but I do not know the specifics well enough to say where. 2012/12/19 Sarah Mohamed <[EMAIL PROTECTED]>
> Peace be on you, Jonathan, > It gives one leaf also > > -- > Regards, > Sarah M. Hassan > > > > On Tue, Dec 18, 2012 at 4:24 AM, Jonathan Coveney <[EMAIL PROTECTED] > >wrote: > > > Try it with joins, I think > > > > > > 2012/12/16 Sarah Mohamed <[EMAIL PROTECTED]> > > > > > PhysicalPlan.getLeaves() return a list of leaves, Most of the cases > it's > > > only one"the root", is there any cases that the physical plan will have > > > more than one leaf ? > > > > > > Thanks > > > Sarah > > > > > >
+
Jonathan Coveney 2012-12-19, 21:29
-
Re: PhysicalPlan leaves
Sarah Mohamed 2012-12-21, 18:28
Thanks Jonathan. The physical plan can have more than one leaf when the query contains more than one "store" ; each "store" is considered a leave .
-- Regards, Sarah M. Hassan On Wed, Dec 19, 2012 at 11:29 PM, Jonathan Coveney <[EMAIL PROTECTED]>wrote:
> If you really want to be sure, what I would do is put a debug statement in > PigServer.launchPlan and just look at the PhysicalPlan object for a > semi-complicated script. There definitely will be forking paths, but I do > not know the specifics well enough to say where. > > > 2012/12/19 Sarah Mohamed <[EMAIL PROTECTED]> > > > Peace be on you, Jonathan, > > It gives one leaf also > > > > -- > > Regards, > > Sarah M. Hassan > > > > > > > > On Tue, Dec 18, 2012 at 4:24 AM, Jonathan Coveney <[EMAIL PROTECTED] > > >wrote: > > > > > Try it with joins, I think > > > > > > > > > 2012/12/16 Sarah Mohamed <[EMAIL PROTECTED]> > > > > > > > PhysicalPlan.getLeaves() return a list of leaves, Most of the cases > > it's > > > > only one"the root", is there any cases that the physical plan will > have > > > > more than one leaf ? > > > > > > > > Thanks > > > > Sarah > > > > > > > > > >
+
Sarah Mohamed 2012-12-21, 18:28
|
|