Phoenix500526 opened a new pull request, #12357: URL: https://github.com/apache/arrow-rs/pull/12357
# Which issue does this PR close? Part of #12328. # Rationale for this change Several IPC and Flight tests repeat setup and assertions across input variants or nest independent scenarios in loops. Named `rstest` cases make these scenarios easier to read and identify when a test fails. # What changes are included in this PR? - Parameterize IPC union slicing, dictionary union round trips, empty offset buffers, and alignment tests. Keep all 128 byte offsets within each alignment case so each array is encoded only once. - Parameterize Flight schema round trips, dictionary `known_schema` behavior, table metadata filtering, and CLI table queries. Preserve the default hydration path, explicit resend configuration, and independent server setup for each CLI case. - Add `rstest` as a development dependency of `arrow-ipc` and `arrow-flight`. # Are these changes tested? The refactored tests preserve the existing inputs, parameter combinations, and assertions, including complete CLI output and alignment error messages. Both crates' unit, integration, and documentation tests pass with IPC compression and Flight SQL/CLI/TLS features enabled (349 tests). # Are there any significant user-facing changes? No. These changes affect tests only. # AI usage disclosure Codex assisted with the test refactoring, coverage review, validation, and PR description. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
