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

Function ApplyBinaryChunked

cpp/src/arrow/chunked_array.h:286–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284/// func(left.chunk[2][5:20], right.chunk[2][:], 25)
285template <typename Action>
286Status ApplyBinaryChunked(const ChunkedArray& left, const ChunkedArray& right,
287 Action&& action) {
288 MultipleChunkIterator iterator(left, right);
289 std::shared_ptr<Array> left_piece, right_piece;
290 while (iterator.Next(&left_piece, &right_piece)) {
291 ARROW_RETURN_NOT_OK(action(*left_piece, *right_piece, iterator.position()));
292 }
293 return Status::OK();
294}
295
296} // namespace internal
297} // 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