You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Steve Carlin (Jira)" <ji...@apache.org> on 2025/06/17 19:39:00 UTC

[jira] [Updated] (IMPALA-14165) Calcite planner: Type coercion code accidentally omitted from Analysis

     [ https://issues.apache.org/jira/browse/IMPALA-14165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Carlin updated IMPALA-14165:
----------------------------------
    Description: 
On the first cut of creating the Calcite planner, the Calcite planner was standalone and ran its own JniFrontend.

In the current version, the parsing, validating, and single node planning is called from the Impala framework.

There is some code in the first cut regarding the "ImpalaTypeCoercionFactory" class which handles deriving the correct data type for various expressions, for instance (found in exprs.test): 

10.1 in (tinyint_col, smallint_col, int_col, bigint_col, float_col, double_col) 

This code was accidentally omitted in the current version and needs to be added.

  was:
On the first cut of creating the Calcite planner, the Calcite planner was standalone and ran its own JniFrontend.

In the current version, the parsing, validating, and single node planning is called from the Impala framework.

There is some code in the first cut regarding the "ImpalaTypeCoercionFactory" class which handles deriving the correct data type for various expressions, for instance, 

10.1 in (tinyint_col, smallint_col, int_col, bigint_col, float_col, double_col)



This code was accidentally omitted in the current version and needs to be added.


> Calcite planner: Type coercion code accidentally omitted from Analysis
> ----------------------------------------------------------------------
>
>                 Key: IMPALA-14165
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14165
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Steve Carlin
>            Priority: Major
>
> On the first cut of creating the Calcite planner, the Calcite planner was standalone and ran its own JniFrontend.
> In the current version, the parsing, validating, and single node planning is called from the Impala framework.
> There is some code in the first cut regarding the "ImpalaTypeCoercionFactory" class which handles deriving the correct data type for various expressions, for instance (found in exprs.test): 
> 10.1 in (tinyint_col, smallint_col, int_col, bigint_col, float_col, double_col) 
> This code was accidentally omitted in the current version and needs to be added.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org