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/06/08 13:31:19 UTC

[GitHub] [arrow] jorisvandenbossche commented on pull request #10480: ARROW-12993: [Python] Avoid half-initialized FeatherReader object

jorisvandenbossche commented on pull request #10480:
URL: https://github.com/apache/arrow/pull/10480#issuecomment-856769998


   Looks good.
   
   We have a similar pattern in `_parquet.pyx` ParquetReader, which is used in parquet.ParquetFile, and you can also get this to crash:
   
   ```
   In [7]: from pyarrow.parquet import ParquetReader
   
   In [8]: ParquetReader()
   Out[8]: <pyarrow._parquet.ParquetReader at 0x7f635377b280>
   
   In [9]: reader = ParquetReader()
   
   In [10]: reader.schema_arrow
   Segmentation fault (core dumped)
   ```
   


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