vegarsti commented on code in PR #8589:
URL: https://github.com/apache/arrow-rs/pull/8589#discussion_r2441713721


##########
arrow-cast/src/cast/mod.rs:
##########
@@ -789,6 +793,41 @@ pub fn cast_with_options(
             | Map(_, _)
             | Dictionary(_, _),
         ) => Ok(new_null_array(to_type, array.len())),
+        (RunEndEncoded(index_type, _), _) => {
+            let mut cast_options = cast_options.clone();
+            cast_options.safe = false;

Review Comment:
   Taking a closer look at this, I actually think that's wrong. I see we don't 
use that anywhere else in arrow. I think that code and comment might have been 
AI generated as well 🤔 



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