You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2024/07/16 23:46:00 UTC

[jira] [Resolved] (IMPALA-12285) Type mismatch in set operations with ALLOW_UNSAFE_CASTS enabled

     [ https://issues.apache.org/jira/browse/IMPALA-12285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Smith resolved IMPALA-12285.
------------------------------------
    Fix Version/s: Impala 4.4.0
       Resolution: Fixed

> Type mismatch in set operations with ALLOW_UNSAFE_CASTS enabled
> ---------------------------------------------------------------
>
>                 Key: IMPALA-12285
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12285
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Frontend
>            Reporter: Peter Rozsa
>            Assignee: Peter Rozsa
>            Priority: Major
>             Fix For: Impala 4.4.0
>
>
> {code:java}
> INSERT INTO iobt(c0) VALUES ("0"), (15629);{code}
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)