strongduanmu commented on issue #21388: URL: https://github.com/apache/shardingsphere/issues/21388#issuecomment-1272427366
In calcite, a more recommended way is to use the `CoreRules.AGGREGATE_REDUCE_FUNCTIONS` rule rewrites `AVG(x)` to `SUM(x) / COUNT(x)`, so we can implement AVG aggregation by adding this rule. -- 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]
