-
- Downloads
Add an aggregate function to add aggregations to queries (#29225)
* Add an aggregate function to add aggregations to queries * Call ->op-arg on aggregate input * Allow any in aggregations for now because expressions on aggregates are allowed * We have to recurse into clauses
Showing
- .clj-kondo/macros/metabase/lib/common.clj 21 additions, 6 deletions.clj-kondo/macros/metabase/lib/common.clj
- src/metabase/lib/aggregation.cljc 15 additions, 17 deletionssrc/metabase/lib/aggregation.cljc
- src/metabase/lib/common.cljc 34 additions, 20 deletionssrc/metabase/lib/common.cljc
- src/metabase/lib/core.cljc 1 addition, 0 deletionssrc/metabase/lib/core.cljc
- src/metabase/lib/schema/expression.cljc 1 addition, 1 deletionsrc/metabase/lib/schema/expression.cljc
- test/metabase/lib/aggregation_test.cljc 15 additions, 13 deletionstest/metabase/lib/aggregation_test.cljc
Please register or sign in to comment