ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guilherme Melo <guilherme...@gmail.com>
Subject Re: Group By on Scan query
Date Fri, 14 Jul 2017 02:23:05 GMT
Thank you Andrei I'll give that a try.

On 14 Jul 2017 12:56 a.m., "Andrey Mashenkov" <andrey.mashenkov@gmail.com>
wrote:

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 <guilherme@gmelo.org> 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

Mime
View raw message