Commits


ptaylor authored and Antoine Pitrou committed e1e318852be
ARROW-9659: [C++] Fix RecordBatchStreamReader when source is CudaBufferReader Related JIRA: [ARROW-9659](https://issues.apache.org/jira/browse/ARROW-9659) Prior to 1.0.0, the `RecordBatchStreamReader` was capable of reading source CudaBuffers wrapped in a `CudaBufferReader`. In 1.0.0, the Array validation routines call into Buffer::data(), which throws an error if the source isn't in host memory. This PR guards the call-sites I was able to find, but I may have missed others. I considered skipping Array validation if the buffers aren't on the host, but the other Array validation checks are still safe and useful to perform. Closes #7909 from trxcllnt/fix/ARROW-9659 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>