sixthnormal / clj-3df

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

`min` and `max` don't work as expected #32

Closed li1 closed 5 years ago

li1 commented 5 years ago

min and max tests currently fail, they print out all tuples, not only the smallest ones.

bachdavi commented 5 years ago

It turns out they are correct, the test case groups the aggregation result by ?user, which in this case is the Entity. Because we only transact one ?age value per Entity, every tuple is produced. I will update the test case soon..