Skip to content

GH-39921: [Go][Parquet] ColumnWriter not reset TotalCompressedBytes after Flush#39922

Merged
zeroshade merged 1 commit intoapache:mainfrom
mapleFU:fixing-total-compress-bytes
Feb 5, 2024
Merged

GH-39921: [Go][Parquet] ColumnWriter not reset TotalCompressedBytes after Flush#39922
zeroshade merged 1 commit intoapache:mainfrom
mapleFU:fixing-total-compress-bytes

Conversation

@mapleFU
Copy link
Copy Markdown
Member

@mapleFU mapleFU commented Feb 2, 2024

Rationale for this change

See #39921

What changes are included in this PR?

Not clearing totalCompressedBytes when flush called

Are these changes tested?

Yes

Are there any user-facing changes?

Yes, it's a bugfix

@mapleFU mapleFU requested a review from zeroshade as a code owner February 2, 2024 19:53
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 2, 2024

⚠️ GitHub issue #39921 has been automatically assigned in GitHub to PR creator.

Copy link
Copy Markdown
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks for this!

@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 5856421.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
…ytes after Flush (apache#39922)

### Rationale for this change

See apache#39921

### What changes are included in this PR?

Not clearing `totalCompressedBytes` when flush called

### Are these changes tested?

Yes

### Are there any user-facing changes?

Yes, it's a bugfix

* Closes: apache#39921

Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Matt Topol <zotthewizard@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Go][Parquet] ColumnWriter TotalCompressedBytes will be corrupt if FallbackToPlain

2 participants