-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
See
django-sql-utils/sql_util/aggregates.py
Lines 161 to 168 in 88cf3a6
| # Add test for output_field, distinct, and when resolved_expression.field.name isn't what we're aggregating | |
| if not self.output_field: | |
| self._output_field = self.output_field = target_expression.field | |
| if self.distinct is not None: | |
| aggregation = self.aggregate(target_expression, distinct=self.distinct) | |
| else: | |
| aggregation = self.aggregate(target_expression) |
This makes the ordering argument in ArrayAgg impossible to use. Ditto for any custom Aggregation a user may want to write
Metadata
Metadata
Assignees
Labels
No labels