ritchie46 commented on a change in pull request #9402:
URL: https://github.com/apache/arrow/pull/9402#discussion_r570766453



##########
File path: rust/arrow/src/compute/kernels/cast.rs
##########
@@ -1175,6 +1254,76 @@ where
     Ok(Arc::new(b.finish()))
 }
 
+/// Cast the container type of List/Largelist array but not the inner types.
+/// This function can leave the value data intact and only has to cast the 
offset dtypes.
+fn cast_list_container<OffsetSizeFrom, OffsetSizeTo>(array: &ArrayRef) -> 
Result<ArrayRef>

Review comment:
       :+1: 




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to