Jefffrey commented on PR #12420: URL: https://github.com/apache/arrow-rs/pull/12420#issuecomment-7134616486
> > would this supersede the need for #12318? > > AFAICT, that PR made three changes, all getting rid of `make_array` calls: > > 1. Early return for same type: use `slice` > > 2. Int64 -> Timestamp conversions: use `make_timestamp_array` > > 3. Int64 -> Duration conversions: use `make_duration_array` > > > AFAIK this PR only addresses the first item? the last two items are because the `make_array` (and also `slice`) paths were slow, since we didnt have a fast way to retrieve an `ArrayRef` from a `&dyn Array`; if we had this fast way we wouldn't need to specialize the cast paths as #12318 does (which i was hoping this PR might provide, but maybe im misunderstanding) -- 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]
