ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Mashenkov <andrey.mashen...@gmail.com>
Subject Re: Cache Indexes not getting created Ignite v2.1
Date Fri, 29 Sep 2017 09:12:01 GMT
Hi,

You mark field "name" with @QueryTextField and it can be used for TextQuery
only.
Looks like a bug that index type is missed in metatada. I'll check if it is
so and fill a ticket.

Field "name" should be annotated with @QuerySqlField(index = true) to allow
SQL layer use this field in SQL query and build and use index on this field.


On Fri, Sep 29, 2017 at 11:47 AM, iostream <sidds.moona@gmail.com> wrote:

> *I get metadata using REST API -*
>
> http://localhost:8080/ignite?cmd=metadata
>
> *SQL Query -*
>
> Select * from "PersonCache".Person where name = "ABC";
>
> As I already mentioned, I am able to retrieve records using Key, but SQL
> query is not able to get any data.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>



-- 
Best regards,
Andrey V. Mashenkov

Mime
View raw message