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

Function ResolveOutput

cpp/src/arrow/compute/kernels/aggregate_quantile.cc:515–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

513};
514
515Result<TypeHolder> ResolveOutput(KernelContext* ctx,
516 const std::vector<TypeHolder>& types) {
517 const QuantileOptions& options = QuantileState::Get(ctx);
518 if (IsDataPoint(options)) {
519 return types[0];
520 } else {
521 return float64();
522 }
523}
524
525void AddQuantileKernels(VectorFunction* func) {
526 VectorKernel base;

Callers

nothing calls this directly

Calls 2

IsDataPointFunction · 0.85
GetFunction · 0.50

Tested by

no test coverage detected