You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Chugunov (Jira)" <ji...@apache.org> on 2022/06/03 05:05:00 UTC

[jira] [Updated] (IGNITE-16564) Automatically convert numerical values if accepting type allows lossless conversion

     [ https://issues.apache.org/jira/browse/IGNITE-16564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Chugunov updated IGNITE-16564:
-------------------------------------
    Fix Version/s: 3.0.0-alpha6
                       (was: 3.0.0-alpha5)

> Automatically convert numerical values if accepting type allows lossless conversion
> -----------------------------------------------------------------------------------
>
>                 Key: IGNITE-16564
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16564
>             Project: Ignite
>          Issue Type: Improvement
>          Components: networking
>            Reporter: Roman Puchkovskiy
>            Assignee: Roman Puchkovskiy
>            Priority: Major
>              Labels: ignite-3
>             Fix For: 3.0.0-alpha6
>
>
> SchemaMismatchHandler has a method for handling an incompatible field type change. But in the case when the type change is compatible, we can convert the value automatically.
> One such case is when the accepting type is a supertype of the publishing type (this should be already covered).
> Another case is when both types are numeric and the accepting type is wider than the publishing type and allows a loseless conversion. This second case should be solved under this ticket.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)