jhorstmann commented on issue #2214: URL: https://github.com/apache/arrow-datafusion/issues/2214#issuecomment-1097953956
Note that for most aggregation functions this could be done purely on logical plan level by rewriting `AGGREGATE(input) FILTER (WHERE condition)` to `AGGREGATE(IF(condition, input, NULL))`. This works because aggregations usually ignore `NULL` values themselves. One exception I can think of would be `ARRAY_AGG` which I think keeps `NULL` values. -- 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]
