ekuiper icon indicating copy to clipboard operation
ekuiper copied to clipboard

Accumulate function with stop condition

Open ngjaying opened this issue 1 year ago • 0 comments

We support some accumulate functions like acc_sum, acc_avg which will run through the whole rule life cycle. Think about adding a stop or restart condition to let it refresh. For example, acc_sum(temperature) OVER WHEN (humidity > 50). By this way, we can count for consecutive period incrementally. Like accumulate sum for each hour.

ngjaying avatar Jan 04 '24 09:01 ngjaying