Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Done
-
Impala 4.3.0
-
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)