Re: [COMP] Few questions about Query Optimizer

2017-06-24 Thread Ildar Absalyamov
If I remember correctly we eliminated FieldAccessNested function in favor in chained FieldAccessByName\ByIndex. @Steven, correct me if I am wrong. > On Jun 24, 2017, at 18:00, Yingyi Bu wrote: > > Hi Wail, > >$22 should be a harmless bug -- it's related to the ordering

Re: [COMP] Few questions about Query Optimizer

2017-06-24 Thread Yingyi Bu
Hi Wail, $22 should be a harmless bug -- it's related to the ordering of rules. For $19: we could potentially have a rule for that. Best, Yingyi On Sat, Jun 24, 2017 at 5:50 PM, Wail Alkowaileet wrote: > Hi Devs, > > I have few questions about the query optimizer.

[COMP] Few questions about Query Optimizer

2017-06-24 Thread Wail Alkowaileet
Hi Devs, I have few questions about the query optimizer. *- Given the query:* use dataverse TwitterDataverse for $x in dataset Tweets where $x.name = "trump" let $geo := $x.geo group by $name:=$x.name with $geo return {"name": $name, "geo":$geo[0].coordinates.coordinates} *- Logical Plan:*