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-unsubscr...@arrow.apache.org

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


Reply via email to