[
https://issues.apache.org/jira/browse/IGNITE-23060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Iurii Gerzhedovich reassigned IGNITE-23060:
-------------------------------------------
Assignee: (was: Iurii Gerzhedovich)
> 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)