ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vyacheslav Daradur <daradu...@gmail.com>
Subject Re: [jira] [Created] (IGNITE-9048) Local SqlFieldsQuery on client leads to exception
Date Wed, 09 Jan 2019 05:56:51 GMT
Hi, which Ignite's version do you use?

*Local* queries are prohibited on client nodes since they do not store data.

The check was added within task [1] and included in Ignite 2.7 release.

[1] https://issues.apache.org/jira/browse/IGNITE-8915

On Tue, Jan 8, 2019 at 10:17 PM prashant <prashant68@gmail.com> wrote:
>
> Hi Guys,
>
> I am also running into same issue where I am doing local query
>
>             SqlFieldsQuery query = new SqlFieldsQuery(sql);
>             query.setLocal(true);
>             FieldsQueryCursor<List&lt;?>> fq = cache.query(query);
>
>
> This leads to same exception stack trace.
>
> Is there any workaround where I would like query to be only issued against
> the rows that are cached locally on the query node.
>
> Thank you very much
> Prashant Patel
>
>
>
> --
> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/



-- 
Best Regards, Vyacheslav D.

Mime
View raw message