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

Reply via email to