NobiGo commented on PR #3928: URL: https://github.com/apache/calcite/pull/3928#issuecomment-2306355546
> Today _all_ Calcite aggregation functions (except COUNT) return the exact same data type as the data that is being aggregated. This behavior is permitted by the standard, and I think it's a reasonable one. From the Oracle documentation I think that Oracle behaves in the same way. Before I can review this PR we have to agree what you think the "correct" behavior is. > > Maybe this should also be a property of the type system if you really want to emulate multiple databases. This is my idea, and I am glad to receive your feedback on this issue. I will also check if other databases adopt a similar approach. -- 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]
