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

Method Parse

be/src/service/query-option-parser.h:229–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227
228template <>
229Status QueryOptionParser::Parse(
230 TImpalaQueryOptions::type option, const std::string& value, MemSpec* result) {
231 ParseResult<MemSpec> parse_result = ParseMemSpecInternal(value);
232 if (!parse_result.is_parse_ok) {
233 return CreateParseErrorStatus(option, value);
234 }
235 *result = parse_result.value;
236 return Status::OK();
237}
238
239} // namespace impala
240

Callers 11

ParseProfileJsonOrDieFunction · 0.45
RedactSourceJsonFunction · 0.45
TESTFunction · 0.45
BuildAgentPayloadJsonFunction · 0.45
validatePlanSchemaMethod · 0.45
assertQueryStateFunction · 0.45
ParseProfileJsonOrDieFunction · 0.45
FormatJsonFunction · 0.45

Calls 1

OKFunction · 0.85

Tested by 6

ParseProfileJsonOrDieFunction · 0.36
TESTFunction · 0.36
validatePlanSchemaMethod · 0.36
assertQueryStateFunction · 0.36
ParseProfileJsonOrDieFunction · 0.36
FormatJsonFunction · 0.36