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

Function ApplyBinaryChunked

cpp/src/arrow/chunked_array.h:272–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270/// func(left.chunk[2][5:20], right.chunk[2][:], 25)
271template <typename Action>
272Status ApplyBinaryChunked(const ChunkedArray& left, const ChunkedArray& right,
273 Action&& action) {
274 MultipleChunkIterator iterator(left, right);
275 std::shared_ptr<Array> left_piece, right_piece;
276 while (iterator.Next(&left_piece, &right_piece)) {
277 ARROW_RETURN_NOT_OK(action(*left_piece, *right_piece, iterator.position()));
278 }
279 return Status::OK();
280}
281
282} // namespace internal
283} // namespace arrow

Callers 2

EqualsMethod · 0.85
PrintArrayDiffFunction · 0.85

Calls 4

actionFunction · 0.85
OKFunction · 0.70
NextMethod · 0.45
positionMethod · 0.45

Tested by 1

PrintArrayDiffFunction · 0.68