Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23060

Sql. Move rules from typeFamiliesAreCompatible into IgniteCustomAssignmentsRules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • sql

    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

          Activity

            People

              Unassigned Unassigned
              xtern Pavel Pereslegin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: