MCPcopy Create free account
hub / github.com/apache/arrow / MinMaxType

Function MinMaxType

cpp/src/arrow/compute/kernels/aggregate_basic.cc:877–881  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

875}
876
877Result<TypeHolder> MinMaxType(KernelContext*, const std::vector<TypeHolder>& types) {
878 // T -> struct<min: T, max: T>
879 auto ty = types.front().GetSharedPtr();
880 return struct_({field("min", ty), field("max", ty)});
881}
882
883Result<TypeHolder> FirstLastType(KernelContext*, const std::vector<TypeHolder>& types) {
884 auto ty = types.front().GetSharedPtr();

Callers

nothing calls this directly

Calls 2

struct_Function · 0.85
fieldFunction · 0.50

Tested by

no test coverage detected