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 2026/04/11 00:10:00 UTC

[jira] [Resolved] (IMPALA-14412) Calcite Planner: Calcite treating exponent notation as double

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

Steve Carlin resolved IMPALA-14412.
-----------------------------------
    Resolution: Fixed

> Calcite Planner: Calcite treating exponent notation as double
> -------------------------------------------------------------
>
>                 Key: IMPALA-14412
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14412
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Steve Carlin
>            Assignee: Steve Carlin
>            Priority: Major
>
> Calcite parses the APPROX_NUMERIC_LITERAL as a double.  Impala needs the parse it as a decimal type.
> The query 
> select avg(c) from (select cast(1e32 as decimal(38,0)) - cast(1 as decimal(38,0)) as c) t
> in
> [query_test/test_decimal_queries.py::TestDecimalExprs::test_exprs|https://jenkins.impala.io/view/all/job/calcite-report-prototype/320/artifact/Impala/calcite_report/html/query_test_test_decimal_queries.py/TestDecimalExprs_test_exprs/index.html]
> is failing.
>  



--
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