Repository navigation
refactor: parameterize IPC, Flight, and Row tests - #12357
Closed
Phoenix500526 wants to merge 2 commits into
Closed
Phoenix500526 wants to merge 2 commits into
Phoenix500526 wants to merge 2 commits into
Conversation
Phoenix500526
force-pushed
the
issue/12328-II-arrow-flight
branch
from
November 20, 2026 11:53
6b9e1eb to
c18a5ab
Compare
Reduce duplicated test setup and assertions while preserving coverage of IPC formats, alignment, and Flight SQL behavior. Refs apache#12328
Reduce duplicated row conversion and iterator tests while preserving type coverage, ordering checks, and invalid inputs. Refs apache#12328
Phoenix500526
force-pushed
the
issue/12328-II-arrow-flight
branch
from
November 20, 2026 11:55
6dfc8a2 to
8a7d76f
Compare
This was referenced Nov 21, 2026
Contributor
Author
|
I'll temporarily close the other rstest PRs and reopen them in smaller batches after #12354 is merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
Part of #12328.
arrow-ipc).arrow-flight).arrow-row).Rationale for this change
Several IPC, Flight, and Row tests repeat setup and assertions across input variants or nest independent scenarios in loops. Named
rstestcases make these scenarios easier to read and identify when a test fails.What changes are included in this PR?
known_schemabehavior, table metadata filtering, and CLI table queries. Preserve the default hydration path, explicit resend configuration, and independent server setup for each CLI case.nth/nth_backtests. Preserve type-specific Decimal256 inputs, ordering assertions, and repeated iterator consumption.rstestas a development dependency ofarrow-ipc,arrow-flight, andarrow-row.Are these changes tested?
The refactored tests preserve existing inputs, parameter combinations, and assertions, including complete CLI output and alignment errors, Decimal256 values, invalid-input panic expectations, and iterator exhaustion checks. IPC and Flight unit, integration, and documentation suites were verified locally with IPC compression and Flight SQL/CLI/TLS features enabled. Row unit and documentation tests also pass.
Are there any significant user-facing changes?
No. These changes affect tests only.
AI usage disclosure
I worked through the proposed test groups with Codex and selected which refactors to include. I also edited tests myself, discussed case names and test structure, and requested coverage reviews before committing. These decisions included retaining distinct null-ordering behavior and the original input differences.
Codex helped identify candidates, draft and revise the refactoring, cross-check coverage, run validation commands, and prepare the PR description.