[C++] Deprecate Scalar::CastTo
Open
Component: C++
Type: enhancement
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the enhancement requested
https://github.com/apache/arrow/issues/35560 removed uses of Scalar::CastTo in favor of compute::Cast. Now that the codebase doesn't use it, we can mark it deprecated and (eventually) remove it https://github.com/apache/arrow/blob/main/cpp/src/arrow/scalar.h#L99-L100
### Component(s)
C++
Contributor guide
Assessment
This issue has not been assessed yet.