Commits


mwish authored and GitHub committed d9e7fa67c3a
GH-45362: [C++] Fix identity cast for time and list scalar (#45370) ### Rationale for this change The PR https://github.com/apache/arrow/pull/40237 introduced code: ``` // time to time template <typename To, typename From, typename T = typename To::TypeClass> ``` However, the `Time64Type::TypeClass` doesn't exist, so SFINAE always failed. ### Are these changes tested? Yes ### Are there any user-facing changes? No. * GitHub Issue: #45362 Authored-by: mwish <maplewish117@gmail.com> Signed-off-by: Antoine Pitrou <antoine@python.org>