gulaftab / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[Feature Request]Add MULT Aggregation funciton to ZINTERSTORE and ZUNIONSTORE #548

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Is it possible for the ZINTERSTORE and ZUNIONSTORE function to include other 
types of aggregation function, for example multiplication?

Original issue reported on code.google.com by jrlkni...@googlemail.com on 16 May 2011 at 12:52

GoogleCodeExporter commented 9 years ago
I have a forked version of redis that does that, I can just issue a pull 
request if needed.

Original comment by dvir...@gmail.com on 16 May 2011 at 1:10

GoogleCodeExporter commented 9 years ago
I suggest using the Lua scripting engine to do this kind of stuff once it gets 
merged.

ZINTERSTORE ... AGGREGATE EVAL "return a*b"

Original comment by anti...@gmail.com on 16 May 2011 at 1:39

GoogleCodeExporter commented 9 years ago
Is AGGREGATE EVAL option still being planned?

Original comment by fry....@gmail.com on 30 Oct 2012 at 11:02