You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Pereslegin (Jira)" <ji...@apache.org> on 2024/10/03 04:16:00 UTC

[jira] [Resolved] (IGNITE-23060) Sql. Move rules from typeFamiliesAreCompatible into IgniteCustomAssignmentsRules

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

Pavel Pereslegin resolved IGNITE-23060.
---------------------------------------
    Resolution: Fixed

Fixed in IGNITE-23042

> Sql. Move rules from typeFamiliesAreCompatible into IgniteCustomAssignmentsRules
> --------------------------------------------------------------------------------
>
>                 Key: IGNITE-23060
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23060
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Pavel Pereslegin
>            Priority: Major
>              Labels: ignite-3
>
> {{TypeUtils.typeFamiliesAreCompatible}} checks that types have compatible type families taking into account custom data types (types have compatible type families if type can be assigned to another type and vice-versa)
> {{IgniteCustomAssignmentsRules}} is more relaxed and determines whether a type is assignable from another type , but doesn't take into account custom types (currently it operates with {{SqlTypeName}}, not {{RelDataType}}).
> Looks like we need to move checks from {{typeFamiliesAreCompatible}} into {{IgniteCustomAssignmentsRules}} if possible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)