Omega359 commented on code in PR #6719:
URL: https://github.com/apache/arrow-rs/pull/6719#discussion_r1842747967


##########
arrow-cast/src/cast/mod.rs:
##########
@@ -1462,6 +1464,9 @@ pub fn cast_with_options(
         (BinaryView, _) => Err(ArrowError::CastError(format!(
             "Casting from {from_type:?} to {to_type:?} not supported",
         ))),
+        (from_type, Utf8View) if from_type.is_primitive() => {

Review Comment:
   I believe this also fixes the Timestamp -> Utf8View issue. It would be good 
to have tests for temporal -> Utf8View added to cover this case.



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