HaoYang670 commented on code in PR #2405:
URL: https://github.com/apache/arrow-rs/pull/2405#discussion_r943040551


##########
arrow/src/array/array_decimal.rs:
##########
@@ -123,6 +123,8 @@ impl<const BYTE_WIDTH: usize> BasicDecimalArray<BYTE_WIDTH> 
{
                 self.raw_value_data_ptr().offset(pos as isize),
                 Self::VALUE_LENGTH as usize,
             )
+            .try_into()

Review Comment:
   I guess there is no performance regression. I just move the `try_into` 
outside the fn `Decimal::new()`. 



-- 
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]

Reply via email to