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: [email protected]
For additional commands, e-mail: [email protected]