edubraqd commented on issue #10131: URL: https://github.com/apache/arrow-rs/issues/10131#issuecomment-5532864204
One more temporal cast that still panics on `main` (`arrow-cast/src/cast/mod.rs`, the `(Time64(Microsecond), Time64(Nanosecond))` arm uses an unchecked `x * (NANOSECONDS / MICROSECONDS)`), in case it helps whoever picks this up: ```rust let a = Time64MicrosecondArray::from(vec![i64::MAX]); let _ = cast(&a, &DataType::Time64(TimeUnit::Nanosecond)); // thread panicked at arrow-cast/src/cast/mod.rs:1782:55 (59.2.0): attempt to multiply with overflow ``` Reached from DataFusion with `SELECT arrow_cast(arrow_cast(9223372036854775807, 'Time64(Microsecond)'), 'Time64(Nanosecond)')`. -- 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]
