Commit 5750e29
authored
### 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]>
1 parent e1f727c commit 5750e29
2 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
361 | 362 | | |
362 | 363 | | |
363 | 364 | | |
| |||
0 commit comments