RE: Failing to create index on Ignite table column

2019-01-16 Thread Stanislav Lukyanov
Don’t think there is any Ignite API for that yet. Stan From: Shravya Nethula Sent: 16 января 2019 г. 12:42 To: user@ignite.apache.org Subject: RE: Failing to create index on Ignite table column Hi Stan, Thank you! This information is helpful. Do you know any Ignite API through which I can get

RE: Failing to create index on Ignite table column

2019-01-16 Thread Shravya Nethula
Hi Stan, Thank you! This information is helpful. Do you know any Ignite API through which I can get the indexes of a particular table? Regards, Shravya Nethula. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

RE: Failing to create index on Ignite table column

2019-01-11 Thread Stanislav Lukyanov
I know one way to do that – connect via SQLLine and execute !indexes command. Check out this doc https://apacheignite-sql.readme.io/docs/sqlline Stan From: Shravya Nethula Sent: 7 января 2019 г. 13:49 To: user@ignite.apache.org Subject: Re: Failing to create index on Ignite table column Hi, Is

Re: Failing to create index on Ignite table column

2019-01-09 Thread Shravya Nethula
Hi, Previously I used the following query: CREATE INDEX ON User (age asc) In the above query, I explicitly didn't give the index name as I was expecting Ignite to take its auto-generated index name. And it was throwing "Invalid schema state (duplicate index found): null " exception. Now I have

Re: Failing to create index on Ignite table column

2019-01-07 Thread Shravya Nethula
Hi, Is there any way to check the list of column names on which index has been created for a particular table? Regards, Shravya Nethula. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Failing to create index on Ignite table column

2019-01-07 Thread Shravya Nethula
Hi, We are using Ignite 2.7.0 version. Yes this issue is coming up each time I try to create a new table and create indexes on some columns of the table. The creation of indexes code occurs just after the table creation code. The table is successfully created and indexes are created successfully

Re: Failing to create index on Ignite table column

2019-01-07 Thread Mikael
Hi! It does look very strange because it has null value for the index name, and it looks like it does a "x = map.put( indexname, entry)" in the code and if x is not null (index already exists) you will get that exception, but if the name of the index is null it's a bit strange that the map re

Failing to create index on Ignite table column

2019-01-06 Thread Shravya Nethula
Hi, I successfully created an Ignite table named User. Now I want to create 3 indexes on id, cityId, age columns in User table. Indexes were successfully created on id and cityId columns. But I am getting the following "duplicate index found" error though I am trying to create index for the first