Skip to content

RFC: The Semantics of EMIT ON WINDOW CLOSE #30

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

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

fuyufjh
Copy link
Contributor

@fuyufjh fuyufjh commented Dec 16, 2022

No description provided.

@st1page st1page added this to the m milestone Dec 16, 2022
mergify bot pushed a commit to risingwavelabs/risingwave that referenced this pull request Jan 10, 2023
To implement the [EMIT ON WINDOW CLOSE](risingwavelabs/rfcs/pull/30) semantics, we need to decouple the output and cleaning in SortExecutor. We're considering introducing a common component `SortBuffer` instead of a concrete `SortExecutor`. `SortBuffer` will manage a `StateTable` for buffering and export the deletion interface to its caller. It will be used in `WindowAgg` and `SessionWindow`, and may also include `TumbleWindow` and `HopWindow`.

Approved-By: st1page
@fuyufjh fuyufjh merged commit bcedad3 into main Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants