sixthnormal / clj-3df

Clojure(Script) client for Declarative Dataflow.
Eclipse Public License 2.0
328 stars 13 forks source link

Create Input cljs fix, compiler aggregate key symbols fix #11

Closed bachdavi closed 5 years ago

bachdavi commented 5 years ago

The last argument in the aggregate compilation is a vec of keys the aggregate should be grouped by. We need to remove the symbol that is used in the aggregation fn from the binding to extract the grouping keys. As one may be grouping by the same key one is aggregating (even though that does not result in really meaningful results) we need to only remove one symbol, s.t. we still group by the aggregation fns symbol.