Defined a custom aggregator to use with a group by query by extending SumAggregator class. It's working fine in code with QueryExtension api. However we want to be able to use the same from web-ui and gs-ui.
select region,doublesum(payload.delta) from TestBean group by region
where doublesum would be for our custom aggregator.