Commits


ptaylor authored and Antoine Pitrou committed 5e47995b973
ARROW-11872: [C++] Fix Array validation when Array contains non-CPU buffers Constructing an Arrow Table from Arrays that contains `CudaBuffer` presently fails. `ValidateArrayImpl::IsBufferValid` is checking the buffers of each Array, but when an Array's buffers aren't on the CPU the `data.buffers[index]->data() != nullptr` check returns false. Fixes [ARROW-11872](https://issues.apache.org/jira/browse/ARROW-11872). Closes #9640 from trxcllnt/fix/ARROW-11872 Lead-authored-by: ptaylor <paul.e.taylor@me.com> Co-authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Antoine Pitrou <antoine@python.org>