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/12/15 07:37:07 UTC

[GitHub] [arrow] panasenco commented on issue #2192: Unable to read a parquet file

panasenco commented on issue #2192:
URL: https://github.com/apache/arrow/issues/2192#issuecomment-994429876


   I just resolved a similar error in my project today.
   
   I am using [`pyarrow.parquet.write_table`](https://arrow.apache.org/docs/python/generated/pyarrow.parquet.write_table.html) to write my Parquet file.
   
   I was passing a native Python file object to the `where` parameter, which somehow caused the footer to never get written.
   
   When I switched to using [PyArrow output streams](https://arrow.apache.org/docs/python/memory.html?highlight=osfile#output-streams) instead of native Python file objects, the footer got written correctly on stream close, which resolved the "corrupt footer" issue for me.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org