HuaHuaY opened a new pull request, #47665:
URL: https://github.com/apache/arrow/pull/47665

   ### Rationale for this change
   
   Fix wrong result of `num_rows()` method in `FileSerializer`.
   
   ### What changes are included in this PR?
   
   1. add `num_rows_` before each call to `RowGroupWriter::Close` in 
`FileSerializer`.
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   Now `num_rows_` will return the corrent result which is the number of rows 
in the yet started RowGroups.
   


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