[ 
https://issues.apache.org/jira/browse/IGNITE-10654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799658#comment-16799658
 ] 

Yury Gerzhedovich commented on IGNITE-10654:
--------------------------------------------

[~zstan], under the hood for all index _key added at the and. e.g. for user 
index for NAME, AGE will be create NAME, AGE, _KEY index. It required for 
guarantee uniques key

> Report in case of creating index with already existing fields collection.
> -------------------------------------------------------------------------
>
>                 Key: IGNITE-10654
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10654
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>    Affects Versions: 2.7
>            Reporter: Stanilovsky Evgeny
>            Assignee: Stanilovsky Evgeny
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Report in log if new index creating with already existing fields collection.
> for example, need to log warn here:
> {code:java}
>         cache.query(new SqlFieldsQuery("create index \"idx1\" on Val(keyStr, 
> keyLong)"));
>         cache.query(new SqlFieldsQuery("create index \"idx3\" on Val(keyStr, 
> keyLong)"));
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to