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
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