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

Function MemTestUpdate

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

Source from the content-addressed store, hash-verified

215}
216
217IMPALA_UDF_EXPORT
218void MemTestUpdate(FunctionContext* context, const BigIntVal& bytes, BigIntVal* total) {
219 if (bytes.is_null) return;
220 context->TrackAllocation(bytes.val); // freed by serialize()
221 total->val += bytes.val;
222}
223
224IMPALA_UDF_EXPORT
225void MemTestMerge(FunctionContext* context, const BigIntVal& src, BigIntVal* dst) {

Callers

nothing calls this directly

Calls 1

TrackAllocationMethod · 0.80

Tested by

no test coverage detected