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

Type mismatch in set operations with ALLOW_UNSAFE_CASTS enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.4.0
    • Frontend
    • None
    • ghx-label-4

    Description

      INSERT INTO iobt(c0) VALUES ("0"), (15629);

      hit DCHECK in tuple.cc:233; the common type calculation resolves to smallint due to 15629, but literal casting does not respect the target type, and transforms the string literal to tinyint type.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: