viirya commented on code in PR #5398:
URL: https://github.com/apache/arrow-rs/pull/5398#discussion_r1488478065
##########
arrow-cast/src/parse.rs:
##########
@@ -438,7 +438,7 @@ macro_rules! parser_primitive {
($t:ty) => {
impl Parser for $t {
fn parse(string: &str) -> Option<Self::Native> {
- lexical_core::parse::<Self::Native>(string.as_bytes()).ok()
+ string.parse::<Self::Native>().ok()
Review Comment:
We can wait for a fix at the upstream crate. But the ticket is open for more
than 6 months, and no progress so far. I think we may need to fix here directly.
--
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]