[
https://issues.apache.org/jira/browse/IMPALA-15269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Smith resolved IMPALA-15269.
------------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> Calcite planner: Comparing certain decimals fails
> -------------------------------------------------
>
> Key: IMPALA-15269
> URL: https://issues.apache.org/jira/browse/IMPALA-15269
> Project: IMPALA
> Issue Type: Sub-task
> Reporter: Steve Carlin
> Priority: Major
> Fix For: Impala 5.0.0
>
>
> The following query is failing in the Calcite planner:
> select cast(2.3 as decimal(22,8)) = cast(2.4 as decimal(36,35));
> The logic in Impala also fails in Impala when it calls
> Type.getAssignmentCompatibleType(result, childType, compatibility);
> But right after that in Expr.getResolvedWildCardType, it calls
> result = ((ScalarType)result).getMinResolutionDecimal();
--
This message was sent by Atlassian Jira
(v8.20.10#820010)