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



##########
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:
       Good point, I aligned it with the C++ docstring.




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


Reply via email to