andishgar commented on issue #46578: URL: https://github.com/apache/arrow/issues/46578#issuecomment-2908723678
Since it's possible to create an` arrow::Array` from multiple `arrow::Buffer `instances via` arrow::ArrayData`, and each `arrow::Buffer` can have its own memory manager, the behavior of` arrow::ArrayData::ViewOrCopyTo` depends on whether the target const` std::shared_ptr<MemoryManager>& to` is associated with the CPU. A buffer will be either copied or viewed based on whether its memory manager is CPU-tied or not, regardless of whether it uses `arrow::CPUMemoryManager `or `arrow::MyMemoryManager.` 1. Are there any practical examples where an `arrow::Array` contains buffers from different memory managers, or is this scenario purely theoretical? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
