Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

wgtmac
Copy link
Member

@wgtmac wgtmac commented Jan 9, 2025

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
Copy link
Member Author

wgtmac commented Jan 9, 2025

cc @raulcd @pitrou

Copy link

github-actions bot commented Jan 9, 2025

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

@pitrou
Copy link
Member

pitrou commented Jan 9, 2025

@github-actions crossbow submit -g cpp

Copy link

github-actions bot commented Jan 9, 2025

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

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

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

Thanks a lot @wgtmac !

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jan 9, 2025
@wgtmac wgtmac merged commit 3695d3d into apache:main Jan 9, 2025
35 checks passed
@wgtmac wgtmac removed the awaiting committer review Awaiting committer review label Jan 9, 2025
@wgtmac
Copy link
Member Author

wgtmac commented Jan 9, 2025

Thanks for the review! @pitrou @mapleFU

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

@pitrou
Copy link
Member

pitrou commented Jan 9, 2025

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 <[email protected]>
Signed-off-by: Gang Wu <[email protected]>
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 <[email protected]>
Signed-off-by: Gang Wu <[email protected]>
Copy link

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