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

Function AggCharIntermediateSerialize

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

Source from the content-addressed store, hash-verified

396 *dst_val += *reinterpret_cast<int*>(src.ptr);
397}
398IMPALA_UDF_EXPORT
399StringVal AggCharIntermediateSerialize(FunctionContext* context, const StringVal& in) {
400 ValidateCharIntermediateFunctionContext(context);
401 return in;
402}
403IMPALA_UDF_EXPORT
404IntVal AggCharIntermediateFinalize(FunctionContext* context, const StringVal& src) {
405 ValidateCharIntermediateFunctionContext(context);

Callers

nothing calls this directly

Tested by

no test coverage detected