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

Function arrow__Concatenate

r/src/array.cpp:344–353  ·  view source on GitHub ↗

[[arrow::export]]

Source from the content-addressed store, hash-verified

342
343// [[arrow::export]]
344std::shared_ptr<arrow::Array> arrow__Concatenate(cpp11::list dots) {
345 arrow::ArrayVector vector;
346 vector.reserve(dots.size());
347
348 for (const cpp11::sexp& item : dots) {
349 vector.push_back(cpp11::as_cpp<std::shared_ptr<arrow::Array>>(item));
350 }
351
352 return ValueOrStop(arrow::Concatenate(vector));
353}

Callers 1

Calls 5

ValueOrStopFunction · 0.85
ConcatenateFunction · 0.85
push_backMethod · 0.80
reserveMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected