Is your feature request related to a problem or challenge?
For #22594, it would be helpful to know when an aggregate function is duplicate-insensitive; of the built-in aggregates, at least min, max, bit_and, bit_or, bool_and, bool_or, and probably first_value / last_value.
This might also be helpful for other query optimization passes.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Is your feature request related to a problem or challenge?
For #22594, it would be helpful to know when an aggregate function is duplicate-insensitive; of the built-in aggregates, at least
min,max,bit_and,bit_or,bool_and,bool_or, and probablyfirst_value/last_value.This might also be helpful for other query optimization passes.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response