You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/01/20 12:23:57 UTC

[GitHub] [ignite-3] AMashenkov commented on pull request #2: IGNITE-13748: Schema configuration public API.

AMashenkov commented on pull request #2:
URL: https://github.com/apache/ignite-3/pull/2#issuecomment-763569419


   > Do we need some other objects like FunctionalBasedIndex (like
   > CREATE UNIQUE INDEX MY_UPPER_IDX on MY_TABLE(upper(LOGIN))
   > or even combine it with partial one, like:
   > CREATE UNIQUE INDEX MY_UPPER_IDX on MY_TABLE(upper(NAME)) WHERE (deleted = false)
   
   Let's add functional index support within a separate ticket. A functional index can't be UNIQUE because it is not columnar index, but UNIQUE index must contain all affinity columns.
   UNIQUE index on arbitrary columns/values will  be very slow on update operation and we won't support this case.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org