pitrou commented on code in PR #13821:
URL: https://github.com/apache/arrow/pull/13821#discussion_r946964584
##########
python/pyarrow/_parquet.pyx:
##########
@@ -1221,8 +1222,8 @@ cdef class ParquetReader(_Weakrefable):
string_to_timeunit(coerce_int96_timestamp_unit))
self.source = source
+ self.nf = get_reader(source, use_memory_map, &rd_handle)
Review Comment:
Just for the record, is it necessary to store the `NativeFile` or could you
also simply store the `shared_ptr[CRandomAccessFile]`? Not that it makes much
of a difference, I suppose.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]