You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2026/02/23 22:49:00 UTC
[jira] [Resolved] (IMPALA-14429) Calcite Planner: 1.40 breaks coercion of smaller numeric datatypes
[ https://issues.apache.org/jira/browse/IMPALA-14429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Smith resolved IMPALA-14429.
------------------------------------
Fix Version/s: Impala 5.0.0
Resolution: Fixed
> Calcite Planner: 1.40 breaks coercion of smaller numeric datatypes
> ------------------------------------------------------------------
>
> Key: IMPALA-14429
> URL: https://issues.apache.org/jira/browse/IMPALA-14429
> Project: IMPALA
> Issue Type: Sub-task
> Reporter: Steve Carlin
> Priority: Major
> Fix For: Impala 5.0.0
>
>
> In Calcite v1.37, we use coercenodes to change smaller datatypes to match Impala types. For instance, the numeric '1' needs to be a tinyint in Impala, whereas Calcite makes it an int (CALCITE-7120 is filed for this problem).
> On upgrade from Calcite 1.37 to Calcite 1.40, the mechanism in coercenodes fails because of work Calcite did in the AST portion of their code. So we need to come up with another way to do this.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)