bhaskargurram-ai commented on PR #11332: URL: https://github.com/apache/arrow-rs/pull/11332#issuecomment-7440103058
@sdf-jkl No worries, thanks for picking it up! I merged main into the branch (65c643e) instead of rebasing, so the review history stays intact; it squashes to the same diff. Since main split `cast/mod.rs` into submodules and moved the tests out, the rounding-mode code now sits on top of the decimal submodule, including the new checked float-to-decimal helper, and the default mode uses the same branchless half-away-from-zero downscaling as main, so the default path is unchanged. The cast rounding tests moved to `arrow-cast/tests/cast/decimal.rs`. Adding the `CastOptions` field meant switching the struct literals in the moved integration tests to `..Default::default()`, which is why those test files show up in the diff. fmt, clippy and `cargo test -p arrow-cast` pass locally. Happy to rebase into a single commit instead if you prefer. -- 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]
