viirya opened a new issue, #3344:
URL: https://github.com/apache/arrow-rs/issues/3344

   **Describe the bug**
   <!--
   A clear and concise description of what the bug is.
   -->
   
   The functions like `unary_dyn` fails to compute if it finds inequality 
between array type and operation operand type:
   
   For decimal types, just precision/scale can also fail the type equality. 
Because decimal types have default precision and scale, such check makes no 
sense for decimal types:
   
   ```
   NotYetImplemented("Cannot perform unary operation of type Decimal128(38, 10) 
on array of type Decim
   al128(38, 2)")'
   ```
   
   This makes scalar arithmetic kernels cannot work on decimal types mostly.
   
   
   **To Reproduce**
   <!--
   Steps to reproduce the behavior:
   -->
   
   **Expected behavior**
   <!--
   A clear and concise description of what you expected to happen.
   -->
   
   **Additional context**
   <!--
   Add any other context about the problem here.
   -->


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