aarashy commented on issue #3215: URL: https://github.com/apache/arrow-rs/issues/3215#issuecomment-1329858594
@alamb - I appreciate the prompt response. Do you think it would be crazy for `create_primitive_array` to return a `Result` so that I can question-mark the `build` result and remove the `unwrap`s in that function entirely? It seems the only caller of `create_primitive_array` is `create_array` which returns a `Result`, so I think there wouldn't be too much refactoring there. However, there's a bigger question of why the data has only 320 instead of 321 in the first place. That, I am less sure about. I'll try to get a `bytes` input that triggers this panic to enable a full repro and maybe it would be more obvious then. -- 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]
