added test
fixed error message at least
fix test
first attempt at a fix; might still need to generalize it
minor changes
add tests with more than one AggregateFunctionExp in AggregateSource
more general fix
this also works but I'm still suspicious
this should actually be correct
removed unnecessary change
removed unnecessary code
Merge remote-tracking branch 'fdb/master' into havingPredicate
I think this works, but definitely isn't there yet style wise
this is very close; need to throw an appropriate error when invalid aggregate used in WHERE clause, and do a lot of cleanup
made errorcode more robust
fixed aggregates in where conditions; still needs cleanup
Merge remote-tracking branch 'fdb/master' into havingPredicate
moved a rulestest to aggregate folder because it now fails in the aggregatemapper, not in ASTStatementLoader
check for aggregatefunctionexpressions without aggregatesources
not failing any test cases