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

Aleksandr Efimov closed IMPALA-15488.
-------------------------------------
    Fix Version/s: Impala 5.0.0
       Resolution: Fixed

> Calcite planner: Fix integer TRUNC and ROUND calls
> --------------------------------------------------
>
>                 Key: IMPALA-15488
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15488
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Aleksandr Efimov
>            Assignee: Aleksandr Efimov
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> Calcite rejects valid integer calls to TRUNC, TRUNCATE, DTRUNC, ROUND and 
> DROUND. One-argument calls need the native DOUBLE result; two-argument calls 
> need an implicit DECIMAL(p,0) operand and clamped scale. Fix both paths 
> together. The candidate passes 24 focused tests and 80 HS2 checks with 
> codegen off/on. Builds on IMPALA-15486; DECIMAL V1 remains unsupported.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to