milesgranger commented on code in PR #13821:
URL: https://github.com/apache/arrow/pull/13821#discussion_r942001613


##########
python/pyarrow/parquet/core.py:
##########
@@ -375,6 +381,13 @@ def num_row_groups(self):
         """
         return self.reader.num_row_groups
 
+    def close(self):
+        self.reader.close()
+
+    @property
+    def closed(self) -> bool:
+        return self.reader.closed

Review Comment:
   Good catch. Added to ParquetReader and test.



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

Reply via email to