Skip to content

GH-45212: [C++][Parquet] Fix uninitialized size_statistics_level property - #45213

Merged
wgtmac merged 1 commit into
apache:mainfrom
wgtmac:fix_45212
Jan 9, 2025
Merged

wgtmac merged 1 commit into
apache:mainfrom
wgtmac:fix_45212

Conversation

@wgtmac

@wgtmac wgtmac commented Jan 9, 2025 •

Copy link
Copy Markdown
Member

Rationale for this change

The PR to introduce SizeStatistics has spanned several months, during which time WriterProperties::Builder(const WriterProperties& properties) was added.

What changes are included in this PR?

This PR fixes WriterProperties::Builder(const WriterProperties& properties) function to initialize size_statistics_level_.

Are these changes tested?

Pass CIs.

Are there any user-facing changes?

No.

…l property

The PR to introduce SizeStatistics has spanned several months, during
which time WriterProperties::Builder(const WriterProperties& properties)
was added. This commit fixes that function to initialize size_statistics_level_.
@wgtmac

wgtmac commented Jan 9, 2025

Copy link
Copy Markdown
Member Author

cc @raulcd @pitrou

@github-actions

github-actions Bot commented Jan 9, 2025

Copy link
Copy Markdown

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

@pitrou

pitrou commented Jan 9, 2025

Copy link
Copy Markdown
Member

@github-actions crossbow submit -g cpp

@github-actions

github-actions Bot commented Jan 9, 2025

Copy link
Copy Markdown

Revision: 130db76

Submitted crossbow builds: ursacomputing/crossbow @ actions-3485d333b1

Task Status
example-cpp-minimal-build-static GitHub Actions
example-cpp-minimal-build-static-system-dependency GitHub Actions
example-cpp-tutorial GitHub Actions
test-alpine-linux-cpp GitHub Actions
test-build-cpp-fuzz GitHub Actions
test-conda-cpp GitHub Actions
test-conda-cpp-valgrind GitHub Actions
test-cuda-cpp-ubuntu-20.04-cuda-11.2.2 GitHub Actions
test-cuda-cpp-ubuntu-22.04-cuda-11.7.1 GitHub Actions
test-debian-12-cpp-amd64 GitHub Actions
test-debian-12-cpp-i386 GitHub Actions
test-fedora-39-cpp GitHub Actions
test-ubuntu-20.04-cpp GitHub Actions
test-ubuntu-20.04-cpp-bundled GitHub Actions
test-ubuntu-22.04-cpp GitHub Actions
test-ubuntu-22.04-cpp-20 GitHub Actions
test-ubuntu-22.04-cpp-emscripten GitHub Actions
test-ubuntu-22.04-cpp-no-threading GitHub Actions
test-ubuntu-24.04-cpp GitHub Actions
test-ubuntu-24.04-cpp-bundled-offline GitHub Actions
test-ubuntu-24.04-cpp-gcc-13-bundled GitHub Actions
test-ubuntu-24.04-cpp-gcc-14 GitHub Actions
test-ubuntu-24.04-cpp-minimal-with-formats GitHub Actions
test-ubuntu-24.04-cpp-thread-sanitizer GitHub Actions

@pitrou pitrou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks a lot @wgtmac !

@wgtmac

wgtmac commented Jan 9, 2025

Copy link
Copy Markdown
Member Author

Thanks for the review! @pitrou @mapleFU

I just merged it. Should we port this to 19.0.0? @raulcd

@pitrou

pitrou commented Jan 9, 2025

Copy link
Copy Markdown
Member

Yes, I think this is a good candidate for 19.0.0 inclusion @amoeba

amoeba pushed a commit that referenced this pull request Jan 9, 2025
…erty (#45213)

### Rationale for this change

The PR to introduce SizeStatistics has spanned several months, during which time WriterProperties::Builder(const WriterProperties& properties) was added.

### What changes are included in this PR?

This PR fixes WriterProperties::Builder(const WriterProperties& properties) function to initialize size_statistics_level_.

### Are these changes tested?

Pass CIs.

### Are there any user-facing changes?

No.
* GitHub Issue: #45212

Authored-by: Gang Wu <ustcwg@gmail.com>
Signed-off-by: Gang Wu <ustcwg@gmail.com>
amoeba pushed a commit that referenced this pull request Jan 11, 2025
…erty (#45213)

### Rationale for this change

The PR to introduce SizeStatistics has spanned several months, during which time WriterProperties::Builder(const WriterProperties& properties) was added.

### What changes are included in this PR?

This PR fixes WriterProperties::Builder(const WriterProperties& properties) function to initialize size_statistics_level_.

### Are these changes tested?

Pass CIs.

### Are there any user-facing changes?

No.
* GitHub Issue: #45212

Authored-by: Gang Wu <ustcwg@gmail.com>
Signed-off-by: Gang Wu <ustcwg@gmail.com>
@conbench-apache-arrow

Copy link
Copy Markdown

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

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 8 possible false positives for unstable benchmarks that are known to sometimes produce them.

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.

3 participants