XiangpengHao commented on PR #8887:
URL: https://github.com/apache/arrow-rs/pull/8887#issuecomment-3564480279

   I checked arrow's `cast_with_options`:
   
https://github.com/apache/arrow-rs/blob/779e9bd2ee43d7d882782e6bf6a11ee0944af229/arrow-cast/src/cast/mod.rs#L751-L761
   
   It doesn't check if the `from_type` is a valid data type regardless of 
`cast_options`. I think we should follow the same conventions where, as we take 
the same `cast_options` from user 🤔 


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