Steve Carlin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/23523 )

Change subject: IMPALA-14408: Use regular path for Calcite planner instead of 
CalciteJniFrontend
......................................................................

IMPALA-14408: Use regular path for Calcite planner instead of CalciteJniFrontend

When the --use_calcite_planner=true option is set at the server level,
the queries will no longer go through CalciteJniFrontend. Instead, they
will go through the regular JniFrontend, which is the path that is used
when the query option for "use_calcite_planner" is set.

The CalciteJniFrontend will be removed in a later commit.

This commit also enables fallback to the original planner when an unsupported
feature exception is thrown. This needed to be added to allow the tests to run
properly. During initial database load, there are queries that access complex
columns which throws the unsupported exception.

Change-Id: I732516ca8f7ea64f73484efd67071910c9b62c8f
Reviewed-on: http://gerrit.cloudera.org:8080/23523
Reviewed-by: Steve Carlin <[email protected]>
Tested-by: Steve Carlin <[email protected]>
---
M be/src/service/impala-server.cc
M bin/start-impala-cluster.py
M fe/src/main/java/org/apache/impala/service/Frontend.java
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteAnalysisDriver.java
M 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteQueryParser.java
A 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/UnsupportedChecker.java
6 files changed, 131 insertions(+), 6 deletions(-)

Approvals:
  Steve Carlin: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/23523
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I732516ca8f7ea64f73484efd67071910c9b62c8f
Gerrit-Change-Number: 23523
Gerrit-PatchSet: 8
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>

Reply via email to