MCPcopy Create free account
hub / github.com/apache/impala / DoFrontendPlanning

Method DoFrontendPlanning

be/src/runtime/query-driver.cc:88–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88Status QueryDriver::DoFrontendPlanning(const TQueryCtx& query_ctx, bool use_request) {
89 // Takes the TQueryCtx and calls into the frontend to initialize the TExecRequest for
90 // this query.
91 TExecRequest exec_request;
92 RETURN_IF_ERROR(
93 DebugAction(query_ctx.client_request.query_options, "FRONTEND_PLANNER"));
94 RETURN_IF_ERROR(
95 ExecEnv::GetInstance()->frontend()->GetExecRequest(query_ctx, &exec_request));
96
97 DumpTExecReq(exec_request, "internal", client_request_state_->query_id());
98 if (use_request) exec_request_.reset(new TExecRequest(move(exec_request)));
99 return Status::OK();
100}
101
102Status QueryDriver::RunFrontendPlanner(const TQueryCtx& query_ctx) {
103 DCHECK(client_request_state_ != nullptr);

Callers

nothing calls this directly

Calls 8

DebugActionFunction · 0.85
DumpTExecReqFunction · 0.85
moveFunction · 0.85
OKFunction · 0.85
GetExecRequestMethod · 0.80
resetMethod · 0.65
frontendMethod · 0.45
query_idMethod · 0.45

Tested by

no test coverage detected