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
This only accounts for rows written by the last row group writer. In cases where multiple row groups are appended, the total number of rows written is not reported by the writer.NumRows() method.
Component(s)
Go, Parquet
The text was updated successfully, but these errors were encountered:
…ending a new row group (#38517)
### Rationale for this change
This makes it so the `NumRows` method on the `file.Writer` reports the total number of rows written across multiple row groups.
### Are these changes tested?
A regression test is added that asserts that the total number of rows written matches expectations.
* Closes: #38516
Authored-by: Tim Schaub <[email protected]>
Signed-off-by: Matt Topol <[email protected]>
…en appending a new row group (apache#38517)
### Rationale for this change
This makes it so the `NumRows` method on the `file.Writer` reports the total number of rows written across multiple row groups.
### Are these changes tested?
A regression test is added that asserts that the total number of rows written matches expectations.
* Closes: apache#38516
Authored-by: Tim Schaub <[email protected]>
Signed-off-by: Matt Topol <[email protected]>
dgreiss
pushed a commit
to dgreiss/arrow
that referenced
this issue
Feb 19, 2024
…en appending a new row group (apache#38517)
### Rationale for this change
This makes it so the `NumRows` method on the `file.Writer` reports the total number of rows written across multiple row groups.
### Are these changes tested?
A regression test is added that asserts that the total number of rows written matches expectations.
* Closes: apache#38516
Authored-by: Tim Schaub <[email protected]>
Signed-off-by: Matt Topol <[email protected]>
Describe the bug, including details regarding any error messages, version, and platform.
The
file.Writer
currently increments itsnrows
field in thewriter.Close()
method.arrow/go/parquet/file/file_writer.go
Lines 174 to 177 in 23b62a4
This only accounts for rows written by the last row group writer. In cases where multiple row groups are appended, the total number of rows written is not reported by the
writer.NumRows()
method.Component(s)
Go, Parquet
The text was updated successfully, but these errors were encountered: