mapleFU commented on code in PR #38390:
URL: https://github.com/apache/arrow/pull/38390#discussion_r1376503661


##########
cpp/src/parquet/arrow/writer.cc:
##########
@@ -319,6 +319,7 @@ class FileWriterImpl : public FileWriter {
       closed_ = true;
       if (row_group_writer_ != nullptr) {
         PARQUET_CATCH_NOT_OK(row_group_writer_->Close());
+        row_group_writer_ = nullptr;  // To avoid double closing

Review Comment:
   You can leave this patch just checking here, and find out why it would close 
twice, then open a new issue for that?
   
   I'm a bit tired today, maybe I'll gothrough the code here tomorrow



-- 
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]

Reply via email to