Aleksandr Efimov created IMPALA-15488:
-----------------------------------------
Summary: 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
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
(v8.20.10#820010)