amoeba opened a new pull request, #46731:
URL: https://github.com/apache/arrow/pull/46731

   ### Rationale for this change
   
   Our docs say you can construct a Dataset from a RecordBatchReader but you 
can't. While we can't pass the actual RecordBatchReader to the Dataset as a 
source (AFAIK), we can at least consume the reader immediately and create an 
InMemoryDataset from the batches.
   
   ### What changes are included in this PR?
   
   - Tweaked type checks so this now works (both from ds.dataset and 
ds.InMemoryDataset)
   - Test case extended to cover the new behavior
   - Tweaked error message just to use proper case
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   No.


-- 
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]

Reply via email to