tustvold commented on code in PR #3561:
URL: https://github.com/apache/arrow-rs/pull/3561#discussion_r1080992940


##########
arrow-cast/src/cast.rs:
##########
@@ -4710,8 +4709,8 @@ mod tests {
         assert_eq!(1, arr.value_length(2));
         assert_eq!(1, arr.value_length(3));
         assert_eq!(1, arr.value_length(4));
-        let values = arr.values();
-        let c = values.as_any().downcast_ref::<Int32Array>().unwrap();
+

Review Comment:
   This was not possible before, as the temporary `ArrayRef` would not live for 
long enough.



-- 
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]

Reply via email to