Hi Guilherme, ScanQuery doesn't supports aggregation. You can try to use SqlFieldsQuery for it or run map-reduce task that will run local ScanQueries on map phase.
On Thu, Jul 13, 2017 at 4:21 PM, Guilherme Melo <[email protected]> wrote: > Hello, > I have been reading, and I have not figured out if it is possible to > perforn agregation on a scan query, I am aware I can use the stream api to > do a few things once I've gotten the results, but I was wondering if there > was some internal mechanism to do this, like a reduce step. > > Cheers, > > Guilherme Melo > www.gmelo.org > -- Best regards, Andrey V. Mashenkov
