Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12042

Invalid casts in set operations calculation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Done
    • Impala 4.3.0
    • Impala 4.3.0
    • Frontend
    • None
    • ghx-label-1

    Description

      Invalid implicit casts are produced when a set operation contains transitive compatibility, for example: 

      values (true), (123), (111.0)

       where boolean(true) is compatible with tinyint(123) and tinyint is compatible with decimal(111.0) but boolean is not compatible with decimal nonetheless 'castToSetOpCompatibleTypes' produces decimal as a compatible type.

       

      If the condition described above exists, FE fails with 

      IllegalStateException: cast BOOLEAN to DECIMAL(4,1)

      Attachments

        Activity

          People

            prozsa Peter Rozsa
            prozsa Peter Rozsa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: