tustvold commented on PR #5081:
URL: https://github.com/apache/arrow-rs/pull/5081#issuecomment-1814820368

   > Are there other cases of types where can_cast_types() isn't a strong 
guarantee that the cast() function won't error?
   
   The string parsing ones
   
   I would expect when safe is true to fill the FixedSizeListArray with a null 
value for the errored index. This is consistent with how it behaves for other 
casts. The nullability concern is valid, and is why DataFusion has both 
CastExpr and TryCastExpr.
   
   Tbh I'm not a fan of the safe option, but it is important for spark 
compatibility


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