nastra commented on PR #13565:
URL: https://github.com/apache/iceberg/pull/13565#issuecomment-3078557915

   > Unfortunately, the 
[`ParquetFileWriter`](https://github.com/apache/parquet-java/blob/master/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java),
 which comes in as a dependency from 
[parquet-java](https://github.com/apache/parquet-java), seems to have a similar 
situation that the internal state of the writer is changed before the file has 
been written successfully. That's why at the moment, simply trying to close the 
`ParquetWriter` again does not result in the file being written successfully.
   
   Looking at 
[ParquetFileWriter#close()](https://github.com/apache/parquet-java/blob/master/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetFileWriter.java#L1821-L1833)
 the `closed` flag is set at the very end. Could you please elaborate on what 
you mean by "the internal state of the writer is changed before the file has 
been written successfully"?


-- 
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: issues-unsubscr...@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to