You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "mapleFU (via GitHub)" <gi...@apache.org> on 2023/10/04 17:33:07 UTC

Re: [I] pyarrow.dataset.dataset does not accept RecordBatchReader as source [arrow]

mapleFU commented on issue #38012:
URL: https://github.com/apache/arrow/issues/38012#issuecomment-1747349594

   ```
           elif all(isinstance(elem, (pa.RecordBatch, pa.Table))
                    for elem in source):
               return _in_memory_dataset(source, **kwargs)
   ```
   
   Seems from code it should be record-batch or table, maybe first add a casting as a workaround?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org