Jefffrey commented on code in PR #12352:
URL: https://github.com/apache/arrow-rs/pull/12352#discussion_r4657377430
##########
arrow-cast/src/cast/mod.rs:
##########
@@ -497,7 +497,9 @@ fn cast_reinterpret_arrays<I: ArrowPrimitiveType, O:
ArrowPrimitiveType<Native =
/// * Primitive to `List`: a list array with 1 value per slot is created
/// * `Date32` and `Date64`: precision lost when going to higher interval
/// * `Time32` and `Time64`: precision lost when going to higher interval
-/// * `Timestamp` and `Date{32|64}`: precision lost when going to higher
interval
+/// * `Timestamp` and `Date{32|64}`: precision lost when going to higher
interval.
+/// Casting a `Timestamp` to a coarser unit floors, so an instant before the
Unix
+/// epoch stays in the coarser interval that contains it, matching the
`Date32` cast
Review Comment:
> matching the `Date32` cast
this part is a bit confusing to state here, since its not clear what its
referring to; is it cast to date32? from what?
--
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]