Why does group by's expression list allow the binding of new names, but not the
distinct by's expression list?
What is the expected output? What do you see instead?
We should allow binding of new names in distinct by's expression list.
What version of the product are you using? On what operating system?
asterix_stabilization revision 588
Please provide any additional information below.
Details from AQL.jj BNF grammar
GroupClause ::= "group" "by" ( Variable ":=" )? Expression ( "," ( Variable
":=" )? Expression )* ( "decor" Variable ":=" Expression ( "," "decor" Variable
":=" Expression )* )? "with" VariableRef ( "," VariableRef )*
DistinctClause ::= "distinct" "by" Expression ( "," Expression )*
Original issue reported on code.google.com by khfaraaz82 on 1 Aug 2012 at 10:36
Original issue reported on code.google.com by
khfaraaz82
on 1 Aug 2012 at 10:36