psvri commented on issue #2852: URL: https://github.com/apache/arrow-rs/issues/2852#issuecomment-1323907770
Hello, Should we rather refactor the function [`validate_precision_scale`](https://github.com/apache/arrow-rs/blob/master/arrow-array/src/array/primitive_array.rs#L1023) into [`DecimalType`](https://github.com/apache/arrow-rs/blob/master/arrow-array/src/types.rs#L489) . This way we can avoid code duplication in datafusion and expose it to others as well. -- 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