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

Function MemTestSerialize

be/src/testutil/test-udas.cc:235–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235IMPALA_UDF_EXPORT
236BigIntVal MemTestSerialize(FunctionContext* context, const BigIntVal& total) {
237 if (total.is_null) return BigIntVal(0);
238 context->Free(total.val);
239 return total;
240}
241
242IMPALA_UDF_EXPORT
243BigIntVal MemTestFinalize(FunctionContext* context, const BigIntVal& total) {

Callers

nothing calls this directly

Calls 2

BigIntValClass · 0.85
FreeMethod · 0.45

Tested by

no test coverage detected