naude-r commented on issue #1701: URL: https://github.com/apache/parquet-java/issues/1701#issuecomment-2232674405
have spend more time on this. the issue is due to the double close called from: 1. ParquetFileWriter::end (the finally block calls close) 2. ParquetFileWriter::close tries to close PositionOutputStream using the try-with-resources block. 3. InternalParquetRecordWriter::close calls ParquetFileWriter::end and in finally block AutoCloseables.uncheckedClose, which calls ParquetFileWriter::close the 2nd time. looks like ParquetFileWriter::close might require protection against double close. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
