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 <[email protected]> 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

Reply via email to