Skip to content

Add support for Transaction.update_statistics() #1831

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

Merged
merged 2 commits into from
Apr 4, 2025

Conversation

srilman
Copy link
Contributor

@srilman srilman commented Mar 22, 2025

Rationale for this change

Addd a new API Transaction.update_statistics() to use the existing transaction instead of a brand new one.

Are these changes tested?

I extended tests/integration/test_statistics_operations.py::test_manage_statistics to test the new API.

Are there any user-facing changes?

Users can now update statistics files within an ongoing transaction.

@Fokko Fokko merged commit da403d2 into apache:main Apr 4, 2025
7 checks passed
@Fokko
Copy link
Contributor

Fokko commented Apr 4, 2025

Thanks @srilman 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants