Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-39050: [C++] Use Cast() instead of CastTo() for Timestamp Sc…
…alar in test (apache#39060) ### Rationale for this change Remove legacy code ### What changes are included in this PR? * Replace the legacy scalar CastTo implementation for Timestamp Scalar in test. The cast function already supports casting between different timestamp types. We just need to allow for the possibility of data loss by using `CastOptions::Unsafe()`. ### Are these changes tested? Yes. It is passed by existing test cases. ### Are there any user-facing changes? No. * Closes: apache#39050 Authored-by: Hyunseok Seo <[email protected]> Signed-off-by: Sutou Kouhei <[email protected]>
- Loading branch information