hossbeast / fab

build optimally
GNU General Public License v3.0
4 stars 0 forks source link

listwise - aggregate operator(s) #50

Closed hossbeast closed 6 years ago

hossbeast commented 10 years ago

The aggregate operator(s) will compute a scalar value from the selected rows of the top list. Then it will push a new list onto the stack with one row containing the result of the operation.

(this operation is similar to how the ls operator works)

Their optype should be : LWOP_SELECTION_RESET | LWOP_ARGS_CANHAVE | LWOP_OPERATION_PUSHBEFORE

this code should be in liblistwise/op/agg/agg.c

partial list of aggregate operators sum avg min max

hossbeast commented 10 years ago

xsum (checksum) cnt (count) stddev (standard deviation) var (variance)

hossbeast commented 6 years ago

moved to the listwise repo