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

Method Max

be/src/exprs/aggregate-functions-ir.cc:1265–1268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1263
1264template<typename T>
1265void AggregateFunctions::Max(FunctionContext*, const T& src, T* dst) {
1266 if (src.is_null) return;
1267 if (dst->is_null || src.val > dst->val) *dst = src;
1268}
1269
1270void AggregateFunctions::InitNullString(FunctionContext* c, StringVal* dst) {
1271 dst->is_null = true;

Callers 2

NeedToCheckBatchMethod · 0.45
DeserializeMethod · 0.45

Calls 4

CopyStringValFunction · 0.85
GetConstFnAttrMethod · 0.80
implMethod · 0.80
FreeMethod · 0.45

Tested by

no test coverage detected