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

Evgeny Stanilovsky commented on IGNITE-15547:
---------------------------------------------

[~andrian.boscanean] i check your fix, 
1. fill issue comment correctly, i.e. : "IGNITE-15547 Accept Classes/Enums 
extending an Interface which is used as cache indexed field"
2. replace redundant :
https://github.com/apache/ignite/pull/9427/files#diff-53acab6205b01405f8cb887ffa59ff4dd8c831b38ff61e4aa3e9418cdb19cf7cR44
https://github.com/apache/ignite/pull/9427/files#diff-53acab6205b01405f8cb887ffa59ff4dd8c831b38ff61e4aa3e9418cdb19cf7cR85
 new line no need
https://github.com/apache/ignite/pull/9427/files#diff-53acab6205b01405f8cb887ffa59ff4dd8c831b38ff61e4aa3e9418cdb19cf7cR111
 and so on
3. If i rewrite your fix without boxing tests still be ok, thus - or append 
additional tests, or remove boxing.

> QueryTypeDescriptorImpl: Accept Classes/Enums extending an Interface which is 
> used as cache indexed field
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-15547
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15547
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.10
>            Reporter: Andrian Boscanean
>            Assignee: Andrian Boscanean
>            Priority: Major
>             Fix For: 2.12
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently Classes/Enums that extend an interface which is used as Indexed 
> field are not allowed.
> Example 
> @QuerySqlField(index = true)
>  private TestInterface testInterface;
> ------
> enum TestEnum1 implements TestInterface
> { VALUE_1, VALUE_2, VALUE_3 }
>  



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

Reply via email to