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

Global Aggregation repeat emit #847

Closed
chenziliang opened this issue Oct 30, 2024 · 0 comments · Fixed by #848
Closed

Global Aggregation repeat emit #847

chenziliang opened this issue Oct 30, 2024 · 0 comments · Fixed by #848
Assignees
Labels

Comments

@chenziliang
Copy link
Collaborator

Use case

For global aggregation , if there is no update (no new events), it will stop emitting previous emitted results (emit periodic 1s for example) for now. There are use cases, user likes to repeatedly emit previous emitted results when there are no new events.

A new syntax like this will do the work

SELECT key, sum(n), max(k) ... FROM stream EMIT PERIODIC 1s REPEAT;

Describe the solution you'd like

Describe alternatives you've considered

Additional context

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

Successfully merging a pull request may close this issue.

1 participant