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

Method ParseUrlClose

be/src/exprs/string-functions-ir.cc:1415–1422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1413}
1414
1415void StringFunctions::ParseUrlClose(
1416 FunctionContext* ctx, FunctionContext::FunctionStateScope scope) {
1417 if (scope != FunctionContext::FRAGMENT_LOCAL) return;
1418 UrlParser::UrlPart* url_part =
1419 reinterpret_cast<UrlParser::UrlPart*>(ctx->GetFunctionState(scope));
1420 delete url_part;
1421 ctx->SetFunctionState(scope, nullptr);
1422}
1423
1424StringVal StringFunctions::ParseUrlKey(FunctionContext* ctx, const StringVal& url,
1425 const StringVal& part, const StringVal& key) {

Callers

nothing calls this directly

Calls 2

GetFunctionStateMethod · 0.80
SetFunctionStateMethod · 0.80

Tested by

no test coverage detected