jorisvandenbossche commented on a change in pull request #7156:
URL: https://github.com/apache/arrow/pull/7156#discussion_r425177073



##########
File path: python/pyarrow/dataset.py
##########
@@ -592,9 +596,13 @@ def dataset(source, schema=None, format=None, 
filesystem=None,
         selector_ignore_prefixes=ignore_prefixes
     )
 
+    import io
+
     # TODO(kszucs): support InMemoryDataset for a table input
     if _is_path_like(source):
         return _filesystem_dataset(source, **kwargs)
+    elif isinstance(source, (io.BytesIO, FileSource)):

Review comment:
       Yep, I understand, but added them now in the commit I pushed to get the 
tests passing (those only use single buffer objects). But certainly agree this 
should be cleaned up (later).




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to