mbutrovich commented on PR #12422: URL: https://github.com/apache/arrow-rs/pull/12422#issuecomment-7119356682
I ran [arrow-pbt](https://github.com/mbutrovich/arrow-pbt) at [`f324a01`](https://github.com/mbutrovich/arrow-pbt/commit/f324a01da216d4f8f1fc726e765e0bb1fb6af8e7) against `11ec000b`. `temporal_cast` passed at 10 seeds of 10,000 cases each, and all properties passed at 3 seeds of 1,000: ```sh ARROW_PBT_REASONS=1 cargo run -q -- run temporal_cast 1-10 10000 ``` The cases cast a timestamp to a coarser unit 1,292 times, 1,092 of them with a negative value, and a time to a coarser unit 3,166 times, 2,157 of them `Time64` to `Time32`. For negative timestamps the result was checked against truncation toward zero, which `main` does, so the change keeps that behavior (#11602 asks whether it should floor instead). No property casts between `Duration` units, so that path isn't covered. -- 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]
