LiaCastaneda commented on issue #18399: URL: https://github.com/apache/datafusion/issues/18399#issuecomment-3472368036
@fmonjalet also suggested it can be pushed down when the grouping key refere Example: ` SELECT customer_id, SUM(amount) FROM orders GROUP BY customer_id ` With filter customer_id IN (1, 2): - Filtering before or after aggregation produces the same SUM for customer 1 and 2 - We just don't compute SUM for customer 3 (which the join would discard anyway) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
