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/05/11 22:22:09 UTC

[GitHub] [arrow] westonpace commented on a change in pull request #10267: ARROW-12686: [C++][Python][FlightRPC] Convert Flight reader into a regular reader

westonpace commented on a change in pull request #10267:
URL: https://github.com/apache/arrow/pull/10267#discussion_r630577865



##########
File path: python/pyarrow/_flight.pyx
##########
@@ -874,6 +874,13 @@ cdef class _MetadataRecordBatchReader(_Weakrefable, _ReadPandasMixin):
 
         return chunk
 
+    def to_reader(self):
+        """Convert this reader into a regular RecordBatchReader."""

Review comment:
       Nit: Perhaps add a note that it does this by first reading the schema or some kind of indication that calling `to_reader` will cause it to read the schema.




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