Hello Arnab Karmakar, Steve Carlin, Michael Smith, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    https://gerrit.cloudera.org/25238

to look at the new patch set (#5).

Change subject: IMPALA-15700: Calcite planner: check DATE units
......................................................................

IMPALA-15700: Calcite planner: check DATE units

Reject sub-day DATE intervals during Calcite validation, matching
Original analysis before optimization. Keep calendar intervals,
TIMESTAMP arithmetic and integer date arithmetic valid.

Add direct validation/conversion tests and shared SQL controls.
Check the quoted interval unit in both planner error messages.

Testing: all four focused Java tests pass (82 expressions).

Change-Id: I893573f2db1538490cf0f6c12b275c705366263d
Assisted-by: gpt-6.1-sol (Codex)
---
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ImpalaSqlValidatorImpl.java
A 
java/calcite-planner/src/test/java/org/apache/impala/calcite/service/CalciteDateIntervalTest.java
A testdata/workloads/functional-query/queries/QueryTest/date-interval.test
M tests/query_test/test_exprs.py
4 files changed, 285 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/38/25238/5
--
To view, visit https://gerrit.cloudera.org/25238
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I893573f2db1538490cf0f6c12b275c705366263d
Gerrit-Change-Number: 25238
Gerrit-PatchSet: 5
Gerrit-Owner: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Arnab Karmakar <[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