You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Peter Rozsa (Jira)" <ji...@apache.org> on 2023/04/05 07:46:00 UTC
[jira] [Created] (IMPALA-12042) Invalid casts in set operations calculation
Peter Rozsa created IMPALA-12042:
------------------------------------
Summary: Invalid casts in set operations calculation
Key: IMPALA-12042
URL: https://issues.apache.org/jira/browse/IMPALA-12042
Project: IMPALA
Issue Type: Bug
Components: fe
Affects Versions: Impala 4.3.0
Reporter: Peter Rozsa
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)```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org