Description
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.
Attachments
Issue Links
- is blocked by
-
IGNITE-23042 Sql. Forbid implicit casts between different type families
- Resolved