Michael Smith has submitted this change and it was merged. ( 
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.

Cover nested temporal views with full result metadata parity.

Tests: 19 focused Maven methods standalone and 50 with the six pilot fixes.
The unchanged production delta passed 84 strict HS2 executions on 2f022a5,
also with Gerrit 24260 PS6. Native 2f022a5, codegen disabled.

Change-Id: I9e92f3c9de42ade5630673ee9f062ae675458ad7
Assisted-by: GPT-6 (Codex)
Reviewed-on: http://gerrit.cloudera.org:8080/25019
Reviewed-by: Steve Carlin <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Michael Smith <[email protected]>
---
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, 171 insertions(+), 1 deletion(-)

Approvals:
  Steve Carlin: Looks good to me, but someone else must approve
  Impala Public Jenkins: Verified
  Michael Smith: Looks good to me, approved

--
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: merged
Gerrit-Change-Id: I9e92f3c9de42ade5630673ee9f062ae675458ad7
Gerrit-Change-Number: 25019
Gerrit-PatchSet: 3
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>

Reply via email to