viirya commented on issue #2637:
URL: https://github.com/apache/arrow-rs/issues/2637#issuecomment-1257512054

   Conceptually, I think DecimalArray should be treated as PrimitiveArray. That 
being said, it sounds like a good idea to me. In C++ Arrow, Decimal128Array and 
Decimal256Array both are PrimitiveArray too. So such a change also makes a more 
consistent Arrow implementation. Another big benefit is, this can simplify 
decimal kernels and from user perspective there is more consistent APIs 
including kernels.
   
   Overall I'd vote for this direction. As we will use decimal types, kernels, 
etc. in our project, I will be sure to help on if we decide to move with this 
direction. So that being said, even we don't go for this change, I have been 
planning to complement decimal support.
   
   The concern from my side is, if any, significant API change. That will be 
many breaking cases. And seems we need to hold on the effort to add decimal 
related kernels into this crate (there seems a PR doing that).
   
   I think that this is good plan for long term, although in the short term, 
there will be pain from changing.
   
   
   
   


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

Reply via email to