| 215 | } |
| 216 | |
| 217 | IMPALA_UDF_EXPORT |
| 218 | void 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 | |
| 224 | IMPALA_UDF_EXPORT |
| 225 | void MemTestMerge(FunctionContext* context, const BigIntVal& src, BigIntVal* dst) { |
nothing calls this directly
no test coverage detected