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

Method DoAppend

cpp/src/arrow/compute/kernels/vector_hash.cc:392–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390
391 template <bool HasError = with_error_status>
392 enable_if_t<!HasError, Status> DoAppend(const ArraySpan& arr) {
393 RETURN_NOT_OK(action_.Reserve(arr.length));
394 for (int64_t i = 0; i < arr.length; ++i) {
395 if (i == 0) {
396 seen_null_ = true;
397 action_.ObserveNullNotFound(0);
398 } else {
399 action_.ObserveNullFound(0);
400 }
401 }
402 return Status::OK();
403 }
404
405 template <bool HasError = with_error_status>
406 enable_if_t<HasError, Status> DoAppend(const ArraySpan& arr) {

Callers

nothing calls this directly

Calls 4

OKFunction · 0.50
ReserveMethod · 0.45
ObserveNullNotFoundMethod · 0.45
ObserveNullFoundMethod · 0.45

Tested by

no test coverage detected