rok commented on a change in pull request #12105: URL: https://github.com/apache/arrow/pull/12105#discussion_r796652375
########## File path: cpp/src/arrow/compute/kernels/scalar_cast_temporal.cc ########## @@ -519,6 +521,12 @@ std::shared_ptr<CastFunction> GetDurationCast() { // Between durations AddCrossUnitCast<DurationType>(func.get()); + // time32/64 -> duration Review comment: Turns out we can just subtract times so this is not really needed anymore. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org