zanmato1984 commented on PR #44184: URL: https://github.com/apache/arrow/pull/44184#issuecomment-2843508113
> @khwilson I'm still not sure this is actually desirable (@zanmato1984 what do you think?). Most DBMSes do precision promotion for `sum` aggregation, and most promotions are arbitrary. So I think the idea of this issue/PR makes very much sense. I will look further into the implementation later. > What I think is definitely desirable is to check for overflow when doing sum/mean/product of decimals, regardless of which data type is selected for output. Agreed, checked versions are necessary. -- 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