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

Function MemTestFinalize

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

Source from the content-addressed store, hash-verified

240}
241
242IMPALA_UDF_EXPORT
243BigIntVal MemTestFinalize(FunctionContext* context, const BigIntVal& total) {
244 if (total.is_null) return BigIntVal(0);
245 context->Free(total.val);
246 return total;
247}
248
249// Defines aggregate function for testing different intermediate/output types that
250// computes the truncated bigint sum of many floats.

Callers

nothing calls this directly

Calls 2

BigIntValClass · 0.85
FreeMethod · 0.45

Tested by

no test coverage detected