Skip to content

Tests: Cover schema changes and appends during commit retry - #4024

Open
mifuha wants to merge 1 commit into
apache:mainfrom
mifuha:test/schema-append-commit-retry
Open

mifuha wants to merge 1 commit into
apache:mainfrom
mifuha:test/schema-append-commit-retry

Conversation

@mifuha

@mifuha mifuha commented Sep 27, 2026 •

Copy link
Copy Markdown

Rationale for this change

Add a test for a transaction that adds a nullable column and appends a row, while another writer commits first.

The test checks that the first writer retries and keeps the new column, its field ID, and all three rows. It also checks the snapshot's parent and schema ID, and that reloading the table gives the same result.

Are these changes tested?

Yes. The new test passes for all three existing catalog fixtures. make test passes with 4,239 passed, 5 skipped, and 126 deselected on Python 3.12. make lint also passes.

Are there any user-facing changes?

No. This adds test coverage only.

AI-assisted implementation.

This branch has not been deployed

No deployments
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.

1 participant