liukun4515 commented on issue #2320: URL: https://github.com/apache/arrow-rs/issues/2320#issuecomment-1207205732
> I think it would help to take a step back here, as I at least am very confused as to what is being validated when. For most array types we have an invariant that `ArrayData` only contains valid data, this means we can elide validation on access. This does not appear to be the case for `DecimalArray`, which I personally think is a bug. We can get the decimal array from decimal array builder. When appending a decimal value to the builder, we need to verify it. But in the arrow-rs, I find some case which we can skip the validation.For example, reading decimal value from parquet file(INT32,INT64, OR byte array), taking data from decimal array. We can refile these cases. -- 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