Andrey Mashenkov created IGNITE-15483:
-----------------------------------------

             Summary: Uniq index detection.
                 Key: IGNITE-15483
                 URL: https://issues.apache.org/jira/browse/IGNITE-15483
             Project: Ignite
          Issue Type: Improvement
            Reporter: Andrey Mashenkov


Uniq index constraint support is very limited due to performance issues in the 
general case.
Uniq index must contain all affinity columns, in this case, uniqueness achieves 
out of the box and costs nothing.

Uniq flag is very useful in query planning, as we may rely on the fact the 
unique index lookup will always return a single row.

Maybe, it is not a good idea to allow users to configure index "uniq" flag 
manually. (this is discussable)
But we can detect unique index and set the flag automatically.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to