HaoYang670 commented on PR #1714: URL: https://github.com/apache/arrow-rs/pull/1714#issuecomment-1131441800
I am not sure if this can be removed: https://github.com/apache/arrow-rs/blob/master/arrow/src/array/data.rs#L683-L693 as `validate()` is a public function. But if we don't, we will check the length of `null_bit_buffer` twice. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org