Skip to content

Commit

Permalink
[fix] bug in how AVG is decomposed into measures
Browse files Browse the repository at this point in the history
  • Loading branch information
anhqle committed Jan 31, 2025
1 parent 0c922c1 commit 61c232d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datajunction-server/datajunction_server/sql/decompose.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _avg(self, func) -> list[Measure]:
),
Measure(
name="count",
expression="1",
expression=expression,
aggregation=dj_functions.Count.__name__.upper(),
rule=AggregationRule(
type=Aggregability.FULL
Expand Down

0 comments on commit 61c232d

Please sign in to comment.