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

Function Scatter

cpp/src/arrow/compute/kernels/vector_swizzle_test.cc:296–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294namespace {
295
296Result<Datum> Scatter(const Datum& values, const Datum& indices, int64_t max_index) {
297 ScatterOptions options{max_index};
298 ARROW_ASSIGN_OR_RAISE(Datum result, Scatter(values, indices, options));
299 ValidateOutput(result);
300 return result;
301}
302
303void AssertScatterAAA(const std::shared_ptr<Array>& values,
304 const std::shared_ptr<Array>& indices, int64_t max_index,

Callers 1

TESTFunction · 0.70

Calls 1

ValidateOutputFunction · 0.85

Tested by

no test coverage detected