You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/04/28 08:18:53 UTC

[GitHub] [arrow] jorisvandenbossche commented on a change in pull request #10062: ARROW-12407: [Python][Dataset] Remove ScanTask bindings

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



##########
File path: python/pyarrow/_dataset.pyx
##########
@@ -2814,37 +2751,24 @@ cdef class Scanner(_Weakrefable):
         scanner = GetResultValue(builder.get().Finish())
         return Scanner.wrap(scanner)
 
-    def scan(self):
-        """Returns a stream of ScanTasks
-
-        The caller is responsible to dispatch/schedule said tasks. Tasks should
-        be safe to run in a concurrent fashion and outlive the iterator.
+    @property
+    def dataset_schema(self):
+        """The physical schema of the data."""

Review comment:
       Is this necessarily the physical schema? (I mean, it doesn't necessarily correspond to Fragment.physical_schema, since that can be different for different fragments of a dataset)




-- 
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:
users@infra.apache.org