Steve Carlin has uploaded a new patch set (#2). ( 
https://gerrit.cloudera.org/25629 )

Change subject: IMPALA-15897 (part 2): CalcitePlanner: make optimizer pluggable
......................................................................

IMPALA-15897 (part 2): CalcitePlanner: make optimizer pluggable

Add the optimize_program_class query option so the Calcite optimizer can
run a caller-supplied ImpalaProgram. An empty value keeps the default
ImpalaProgramImpl. A class name is loaded and instantiated; the class
must implement ImpalaProgram and have a public no-arg constructor. An
invalid class fails analysis with an AnalysisException.

Assisted-by: Grok 4.7 (Cursor)
Change-Id: Idf76b77e577a256f0ce2d0a088fc564fd547c15e
---
M be/src/service/query-options.cc
M be/src/service/query-options.h
M common/thrift/ImpalaService.thrift
M common/thrift/Query.thrift
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/optimizer/CalciteOptimizer.java
A 
java/calcite-planner/src/test/java/org/apache/impala/calcite/service/OptimizeProgramClassTest.java
6 files changed, 223 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/29/25629/2
--
To view, visit https://gerrit.cloudera.org/25629
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Idf76b77e577a256f0ce2d0a088fc564fd547c15e
Gerrit-Change-Number: 25629
Gerrit-PatchSet: 2
Gerrit-Owner: Steve Carlin <[email protected]>

Reply via email to