Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accumulate function with stop condition #2531

Open
ngjaying opened this issue Jan 4, 2024 · 0 comments
Open

Accumulate function with stop condition #2531

ngjaying opened this issue Jan 4, 2024 · 0 comments

Comments

@ngjaying
Copy link
Collaborator

ngjaying commented Jan 4, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 2.1 Q4
Development

No branches or pull requests

1 participant