mvanhorn commented on issue #11851: URL: https://github.com/apache/arrow-rs/issues/11851#issuecomment-6363040087
The expected child length is that product. checked_len_plus_offset already returns an error when the sum overflows. The following checked_mul(list_size) uses expect, so an overflowing product panics. When checked_mul returns None, validation returns ArrowError::InvalidArgumentError. The message names the data type, the length-plus-offset value, and the list size, and states that the product exceeds usize. https://github.com/apache/arrow-rs/pull/11859 -- 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]
