[
https://issues.apache.org/jira/browse/IMPALA-12042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Quanlong Huang updated IMPALA-12042:
------------------------------------
Fix Version/s: Impala 4.3.0
> 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
> Assignee: Peter Rozsa
> Priority: Major
> Fix For: Impala 4.3.0
>
>
> Invalid implicit casts are produced when a set operation contains transitive
> compatibility, for example:
> {code:java}
> values (true), (123), (111.0){code}
> 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
> {code:java}
> IllegalStateException: cast BOOLEAN to DECIMAL(4,1){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]