kmitchener commented on PR #2770:
URL: https://github.com/apache/arrow-rs/pull/2770#issuecomment-1256178980

   As it is, I've only copied over what was in DataFusion, but I think that's 
not suitable for arrow-rs's public APIs. Specifically, the math takes rust 
primitives (i128) with no checks on precision or scalar or any indication what 
the precision or scalar might or should be for the scalar. 
   
   Also, as a user of arrow-rs, you'd expect to be able to use the same 
functions to do math on decimals as you do all other number types, but you 
can't, because they're fundamentally different types here.
   
   Is there a way to make DecimalArray a PrimitiveArray?
   


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