AlenkaF commented on PR #38360: URL: https://github.com/apache/arrow/pull/38360#issuecomment-1801666411
> ``` > (Pdb) pq.ParquetFile(corrupted_path, page_checksum_verification=True) > <pyarrow.parquet.core.ParquetFile object at 0x141bb9120> > ``` > Also does this `pq.ParquetFile` just load the metadata without fetching internal? CRC only works when do real iterator the page(.i.e when real fetching data from store) Ah yes, I forgot to check that! Looking at the code, `.open()` is already used when initiating the `ParquetFile` object so I guessed it should do https://github.com/apache/arrow/blob/47222b2794c6c804ca3a351cc6d8544d952365ba/python/pyarrow/parquet/core.py#L344-L353 But maybe using `pq.ParquetFile(corrupted_path, page_checksum_verification=True).read()` with `.read()` would be needed? -- 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]
