alamb commented on PR #10042: URL: https://github.com/apache/arrow-rs/pull/10042#issuecomment-4595534764
Maybe @Jefffrey was talking about https://github.com/apache/arrow-rs/blob/f1ef71aa5aab3d5f3e3ff46f63dd198cf5da7b38/arrow-schema/src/datatype.rs#L495-L507 In the sense that it perhaps more likely for someone to be able to feed negative numbers in via SQL than via Rust APIs. So in this case case, `arrow_cast(..)` calls `DataType::try_from_str` which could potentially validate the `DataType` before return -- 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]
