You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maksim Timonin (Jira)" <ji...@apache.org> on 2021/09/28 13:21:00 UTC

[jira] [Comment Edited] (IGNITE-15547) QueryTypeDescriptorImpl: Accept Classes/Enums extending an Interface which is used as cache indexed field

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

Maksim Timonin edited comment on IGNITE-15547 at 9/28/21, 1:20 PM:
-------------------------------------------------------------------

Hi, [~andrian.boscanean] !

*UPD* Sorry, I reproduced this issue. It fails in moment of insertion.

-Could you please provide a test or detailed clarification of an issue you found with interfaces. Actually I failed to reproduce described behavior. I succeed to create an index for enum field that implements an interface, as you wrote in description.- 

 

 


was (Author: timonin.maksim):
Hi, [~andrian.boscanean] !

Could you please provide a test or detailed clarification of an issue you found with interfaces. Actually I failed to reproduce described behavior. I succeed to create an index for enum field that implements an interface, as you wrote in description. 

> 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
>          Time Spent: 20m
>  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)