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

Method CopyTo

cpp/src/arrow/array/array_base.cc:314–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312}
313
314Result<std::shared_ptr<Array>> Array::CopyTo(
315 const std::shared_ptr<MemoryManager>& to) const {
316 ARROW_ASSIGN_OR_RAISE(auto copied_data, data()->CopyTo(to));
317 return MakeArray(copied_data);
318}
319
320Result<std::shared_ptr<Array>> Array::ViewOrCopyTo(
321 const std::shared_ptr<MemoryManager>& to) const {

Callers

nothing calls this directly

Calls 1

MakeArrayFunction · 0.70

Tested by

no test coverage detected