ivanceras opened a new issue, #5599: URL: https://github.com/apache/arrow-rs/issues/5599
```log cargo/registry/src/index.crates.io-6f17d22bba15001f/arrow-array-51.0.0/src/array/primitive_array.rs:1100:54: called `Option::unwrap()` on a `None` value ``` [link to code](https://github.com/apache/arrow-rs/blob/9fda7eab0c9fb55c90194865ca921c094b78dae9/arrow-array/src/array/primitive_array.rs#L1100) ```rust let v = self.value(index).to_isize().unwrap() as i64; match as_date::<T>(v) { Some(date) => write!(f, "{date:?}"), None => { write!( f, "Cast error: Failed to convert {v} to temporal for {data_type:?}" ) } ``` The reason could be is that isize in wasm32 is 32bits, converting it to isize could have not fit the value. -- 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]
