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

Function FirstLastType

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

Source from the content-addressed store, hash-verified

881}
882
883Result<TypeHolder> FirstLastType(KernelContext*, const std::vector<TypeHolder>& types) {
884 auto ty = types.front().GetSharedPtr();
885 return struct_({field("first", ty), field("last", ty)});
886}
887
888void AddFirstLastKernel(KernelInit init, internal::detail::GetTypeId get_id,
889 ScalarAggregateFunction* func, SimdLevel::type simd_level) {

Callers

nothing calls this directly

Calls 2

struct_Function · 0.85
fieldFunction · 0.50

Tested by

no test coverage detected