dramaticlly commented on code in PR #16094:
URL: https://github.com/apache/iceberg/pull/16094#discussion_r4497053880
##########
parquet/src/main/java/org/apache/iceberg/parquet/ParquetWriter.java:
##########
@@ -284,8 +299,8 @@ public void close() throws IOException {
if (writer != null) {
writer.end(metadata);
}
- if (compressor != null) {
- compressor.release();
+ if (codecFactory != null) {
Review Comment:
codecFactory is final and set in constructor, does null check here make
sense?
--
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]