jhorstmann commented on a change in pull request #419: URL: https://github.com/apache/arrow-rs/pull/419#discussion_r646147652
########## File path: arrow/src/compute/kernels/cast.rs ########## @@ -1450,7 +1451,8 @@ where cast_with_options(&dict_array.values(), to_type, cast_options)?; // Note take requires first casting the indices to u32 - let keys_array: ArrayRef = Arc::new(dict_array.keys_array()); + let keys_array: ArrayRef = Review comment: If primitive arrays were cloneable this would just be `Arc::new(dict_array.keys().clone())`. -- 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: us...@infra.apache.org