tustvold opened a new issue, #2637: URL: https://github.com/apache/arrow-rs/issues/2637
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** <!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] (This section helps Arrow developers understand the context and *why* for this feature, in addition to the *what*) --> Following https://github.com/apache/arrow-rs/pull/2477 we now have `Decimal128Type` and `Decimal256Type`. I think it should be possible to make these `impl ArrowPrimitiveType` and consequently remove the need for `DecimalArray` entirely. Any logic for checked conversion (#2387) could be located and implemented in `Decimal` This would provide a quick and easy way to increase the kernel support for decimals, as we would effectively get implementations "for free". **Describe the solution you'd like** <!-- A clear and concise description of what you want to happen. --> I would like to treat decimals the same way we treat other constant width types **Describe alternatives you've considered** <!-- A clear and concise description of any alternative solutions or features you've considered. --> We could not do this, it was just an idea that occurred to me and would help to reduce the second-class citizen status that decimals currently have. **Additional context** <!-- Add any other context or screenshots about the feature request here. --> Was noticed whilst working on #2635 FYI @liukun4515 @HaoYang670 -- 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]
