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


Change subject: IMPALA-15237: Add Calcite regression harness
......................................................................

IMPALA-15237: Add Calcite regression harness

Expose the optimized logical plan immediately before Impala conversion to
same-package tests while preserving the production optimization path. Capture
client output labels and exact Calcite types before conversion, then verify
that conversion to ImpalaPlanRel also completes.

Exercise the direct Calcite parse, analysis, logical optimization, and Impala
conversion path without Frontend fallback. Use synthetic tables for a compact
supported corpus covering values, filters, aggregation, sorting, joins,
unions, and analytic functions. Characterize output schema and percent_rank
rewriting, and keep unsupported complex types explicitly classified.

Testing:
- Focused Linux CMake generation and ninja fesupport/java build
- CalciteOptimizerTest: 4 tests, 0 failures, 0 errors; BUILD SUCCESS
- git diff --check

Change-Id: I8b0a1aca63b494d9c64fa6b8e33328bedce9c6b4
Assisted-by: gpt-5.6-sol (OpenAI Codex)
---
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteOptimizer.java
A 
java/calcite-planner/src/test/java/org/apache/impala/calcite/service/CalciteOptimizerTest.java
2 files changed, 335 insertions(+), 7 deletions(-)



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

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

Reply via email to