Pavel Pereslegin created IGNITE-23060:
-----------------------------------------

             Summary: 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


{{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 and vice-versa)

{{IgniteCustomAssignmentsRules}} is more relaxed and determine whether a type 
is assignable from another type , but doesn't take into account custom types 
(currently 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)

Reply via email to