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


##########
arrow-cast/src/cast.rs:
##########
@@ -279,6 +283,9 @@ pub fn can_cast_types(from_type: &DataType, to_type: 
&DataType) -> bool {
 ///   in integer casts return null
 /// * Numeric to boolean: 0 returns `false`, any other value returns `true`
 /// * List to List: the underlying data type is cast
+/// * List to FixedSizeList: the underlying data type is cast. If safe is true 
and a list element
+/// has the wrong length it will be replaced with NULL, otherwise returing an 
error
+/// it will be replaced with null if safe is true, otherwise an error will be 
returned

Review Comment:
   Something like that, been a long week :sweat_smile: 



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