ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: How can I only get the local data
Date Mon, 29 Feb 2016 21:29:49 GMT
I think the answer is to use Query.setLocal(true) flag which will return
correct results on the stable topology. The issue with changing topology is
being addressed right now and should become part of the next release.


On Mon, Feb 29, 2016 at 3:11 AM, Denis Magda <dmagda@gridgain.com> wrote:

> Hi,
> Presently there is no a reliable way to execute a SQL query over local
> collocated data.
> Even if you set Query.setLocal to "true" there is a chance that you will
> get incomplete result set if re-partitioning happened at some point of the
> query execution.
> However, it's planned to support the feature that will execute a query on
> a specific machine if it's know that all the data is located there.
> Igniters, have we already created a ticket for this feature?
> --
> Denis
> On 2/29/2016 10:52 AM, smilehong(洪利平) wrote:
> Hi, all
>   when I use the “select * from XX where XX” in ignite, how can I only get
> the local data ? because it obtain data on all nodes default. And I have
> configure the cache modes is partitioned mode.
>  Thank you very much!

View raw message