Phoenix500526 opened a new pull request, #12361: URL: https://github.com/apache/arrow-rs/pull/12361
# Which issue does this PR close? Part of #12328. # Rationale for this change Several CSV and Avro tests repeat setup and assertions or bury independent scenarios in nested loops. Named `rstest` cases make failures easier to identify and keep related inputs and expectations together. # What changes are included in this PR? - Parameterize CSV buffered reads, decimal reads, custom input formats, whitespace handling, writer options, and truncated-row counts. - Parameterize Avro fingerprint handling, timestamp and duration codecs, decimal decoding, schema projection and null ordering, and selected asynchronous reader options. - Add `rstest` as a development dependency to both crates. # Are these changes tested? The refactoring retains the existing behavioral scenarios, including CSV buffer-size combinations and default writer configuration, Avro feature-dependent decimal and duration behavior, Id64 values beyond 32 bits, and empty-schema batch boundaries. Assertions continue to check values, types, errors, and output formats as appropriate. Local validation passed for all 127 CSV unit tests and 14 documentation tests, and for 421 Avro unit tests with default features and 493 with all features. Formatting, spelling, and relevant Clippy checks also passed. # Are there any significant user-facing changes? No. These changes affect tests and development dependencies only. # AI usage disclosure Codex helped identify duplicated test scenarios, generate and review the refactoring, and run validation. -- 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]
