codewarnab opened a new pull request, #12236: URL: https://github.com/apache/arrow-rs/pull/12236
# Which issue does this PR close? - Part of #11033 # Rationale for this change Continue splitting public cast tests out of the large inline test module in `cast/mod.rs`. The remaining temporal tests are too many for one reviewable PR, so this splits them. This PR takes the date and time tests that do not involve timestamps. The timestamp and timezone tests (about 65) follow in a separate PR. # What changes are included in this PR? Move 29 tests into a new `arrow-cast/tests/cast/date_time.rs`: - `Date32` / `Date64` conversions, to and from strings and `Int32` - string to `Time32` / `Time64` - `Time32` / `Time64` conversions, to `Int64`, overflow and boundary checks The new file has local copies of the `assert_cast!` macro and the `assert_temporal_overflow_is_safe` helper. The inline module still uses both. No production code changes. # Are these changes tested? Yes. The 29 moved tests pass in the `cast` integration suite, and all `arrow-cast` tests, `cargo fmt` and `clippy` pass locally. # Are there any significant user-facing changes? No. # AI usage disclosure Claude Code assisted with the test migration and ran validation. I reviewed and verified the changes. -- 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]
