Skip to content

GH-3615: Use assertThat checks in parquet-column tests#3664

Merged
wgtmac merged 1 commit into
apache:masterfrom
nastra:assertj-parquet-column
Jul 17, 2026
Merged

GH-3615: Use assertThat checks in parquet-column tests#3664
wgtmac merged 1 commit into
apache:masterfrom
nastra:assertj-parquet-column

Conversation

@nastra

@nastra nastra commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Rationale for this change

Switching assertions from JUnit4-style Assert to AssertJ makes code easier to read and debug when tests fail.

What changes are included in this PR?

This updates parquet-column tests to use AssertJ checks, which provide more fluent assertions and more detailed information when assertions fails on CI.

The changes in this PR were done with the help of Claude but I manually reviewed every single LOC

Are these changes tested?

yes, existing tests

Are there any user-facing changes?

no

@nastra
nastra force-pushed the assertj-parquet-column branch from 509aea8 to 1280311 Compare July 14, 2026 11:01
assertEquals(paperArrowSchema, arrow);
}

public void assertEquals(Schema left, Schema right) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

not used anywhere anymore

@nastra
nastra force-pushed the assertj-parquet-column branch 9 times, most recently from 8150943 to 4b4e50b Compare July 14, 2026 13:44
@nastra

nastra commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

/cc @Fokko @wgtmac this is probably the module with the most amount of changes unfortunately. If we want, I can also split it up into more manageable pieces

@nastra
nastra force-pushed the assertj-parquet-column branch from 4b4e50b to f5e1e07 Compare July 16, 2026 15:28
@wgtmac
wgtmac merged commit b6fb9e2 into apache:master Jul 17, 2026
5 checks passed
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