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

Method StringValSerializeOrFinalize

be/src/exprs/aggregate-functions-ir.cc:251–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251StringVal AggregateFunctions::StringValSerializeOrFinalize(
252 FunctionContext* ctx, const StringVal& src) {
253 StringVal result = StringValGetValue(ctx, src);
254 if (!src.is_null) ctx->Free(src.ptr);
255 return result;
256}
257
258void AggregateFunctions::CountUpdate(
259 FunctionContext*, const AnyVal& src, BigIntVal* dst) {

Callers

nothing calls this directly

Calls 1

FreeMethod · 0.45

Tested by

no test coverage detected