ekuiper
ekuiper copied to clipboard
Accumulate function with stop condition
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.