| 312 | } |
| 313 | |
| 314 | Result<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 | |
| 320 | Result<std::shared_ptr<Array>> Array::ViewOrCopyTo( |
| 321 | const std::shared_ptr<MemoryManager>& to) const { |
nothing calls this directly
no test coverage detected