[
https://issues.apache.org/jira/browse/IGNITE-4629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15858088#comment-15858088
]
Semen Boikov commented on IGNITE-4629:
--------------------------------------
Hi Konstantin,
I reviewed changes and have one question: will new code work if index is
created on, say, Integer field, but actual value of this field during cache put
is null, please add such test.
Thanks!
> Optimization: store value of indexed field in H2Tree
> ----------------------------------------------------
>
> Key: IGNITE-4629
> URL: https://issues.apache.org/jira/browse/IGNITE-4629
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Reporter: Semen Boikov
> Assignee: Konstantin Dudkov
> Fix For: 2.0
>
>
> Currently we store only 'link' in H2Tree and to do comparison we read lock
> data page and copy row data into GridH2Row. If indexed value is primitive
> then it is possible to store this value in H2Tree, so get value for
> comparison will be just Unsafe.getInt/getLong.
> Prototype is implemented in ignite-3477-idx. (branch is based on ignite-3477).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)