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

Function VerifyExecNodeDebugAction

be/src/service/query-options.cc:240–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240static Status VerifyExecNodeDebugAction(const TDebugOptions& debug_options) {
241 if (debug_options.action == TDebugAction::DELAY) {
242 int64_t sleep_duration_ms;
243 RETURN_IF_ERROR(ExecNode::ParseAndValidateSleepDuration(
244 debug_options.action_param, &sleep_duration_ms));
245 }
246 return Status::OK();
247}
248
249// Note that we allow numerical values for boolean and enum options. This is because
250// TQueryOptionsToMap() will output the numerical values, and we need to parse its output

Callers 1

SetQueryOptionMethod · 0.85

Calls 1

OKFunction · 0.85

Tested by

no test coverage detected