Aleksandr Efimov has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/25019


Change subject: IMPALA-15484: Calcite planner: Support temporal TRUNC overloads
......................................................................

IMPALA-15484: Calcite planner: Support temporal TRUNC overloads

Resolve temporal TRUNC calls through the native function resolver,
including DATE, TIMESTAMP and legacy string-date inputs. Keep numeric
scale inference unchanged and reject numeric temporal unit arguments.

Tests: 18 Maven methods and 84 strict HS2 executions on 2f022a5,
also validated with Gerrit 24260 PS6. Native 2f022a5, codegen disabled.

Change-Id: I9e92f3c9de42ade5630673ee9f062ae675458ad7
Assisted-by: GPT-6 (Codex)
---
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/operators/ImpalaAdjustScaleFunction.java
A 
java/calcite-planner/src/test/java/org/apache/impala/calcite/service/CalciteTruncTest.java
2 files changed, 159 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/19/25019/1
--
To view, visit http://gerrit.cloudera.org:8080/25019
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e92f3c9de42ade5630673ee9f062ae675458ad7
Gerrit-Change-Number: 25019
Gerrit-PatchSet: 1
Gerrit-Owner: Aleksandr Efimov <[email protected]>

Reply via email to