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

Method Exec

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

Source from the content-addressed store, hash-verified

177 }
178
179 Status Exec(KernelContext* ctx, const ArraySpan& values, ExecResult* out) {
180 const QuantileOptions& options = QuantileState::Get(ctx);
181
182 // copy all chunks to a buffer, ignore nulls and nans
183 std::vector<CType, Allocator> in_buffer(Allocator(ctx->memory_pool()));
184 FillBuffer(options, values, values.length, values.GetNullCount(), &in_buffer);
185 return ComputeQuantile(ctx, options, values.type->GetSharedPtr(), in_buffer, out);
186 }
187
188 Status Exec(KernelContext* ctx, const ChunkedArray& values, Datum* out) {
189 const QuantileOptions& options = QuantileState::Get(ctx);

Callers 3

ExecMethod · 0.45
ExecMethod · 0.45
ExecMethod · 0.45

Calls 8

GetNullCountMethod · 0.80
array_dataMethod · 0.80
GetFunction · 0.50
OKFunction · 0.50
memory_poolMethod · 0.45
lengthMethod · 0.45
null_countMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected