| 390 | if (!val.is_null) *dst_val += val.val; |
| 391 | } |
| 392 | IMPALA_UDF_EXPORT |
| 393 | void AggCharIntermediateMerge(FunctionContext* context, const StringVal& src, StringVal* dst) { |
| 394 | ValidateCharIntermediateFunctionContext(context); |
| 395 | int* dst_val = reinterpret_cast<int*>(dst->ptr); |
| 396 | *dst_val += *reinterpret_cast<int*>(src.ptr); |
| 397 | } |
| 398 | IMPALA_UDF_EXPORT |
| 399 | StringVal AggCharIntermediateSerialize(FunctionContext* context, const StringVal& in) { |
| 400 | ValidateCharIntermediateFunctionContext(context); |
nothing calls this directly
no test coverage detected