You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GH-47664: [C++][Parquet] add num_rows_ before each call to RowGroupWriter::Close in FileSerializer (#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.
* GitHub Issue: #47664
Authored-by: Zehua Zou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
0 commit comments