belugabehr commented on a change in pull request #825:
URL: https://github.com/apache/parquet-mr/pull/825#discussion_r501920811



##########
File path: 
parquet-column/src/main/java/org/apache/parquet/column/values/plain/PlainValuesWriter.java
##########
@@ -127,7 +127,6 @@ public void reset() {
   @Override
   public void close() {
     arrayOut.close();
-    out.close();

Review comment:
       `out` in this case is wraps `arrayOut`, and it has no buffering, so it 
does not need to be explicitly closed, or better, in the future, `out` should 
be closed only and `arrayOut` will be closed implicitly.  Anyway, I came to 
this conclusion because this is how `close()` is implemented in a couple of 
other Writer classes as well.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to