diff --git a/crates/polars-arrow/src/compute/cast/binary_to.rs b/crates/polars-arrow/src/compute/cast/binary_to.rs index e14a03040522..74dea9ba27bc 100644 --- a/crates/polars-arrow/src/compute/cast/binary_to.rs +++ b/crates/polars-arrow/src/compute/cast/binary_to.rs @@ -19,7 +19,7 @@ macro_rules! impl_parse { ($primitive_type:ident) => { impl Parse for $primitive_type { fn parse(val: &[u8]) -> Option { - atoi_simd::parse_skipped(val).ok() + Some(Self::from_le_bytes(val.try_into().ok()?)) } } };