confluentinc / confluentinc/ksql
Allow using untilTimeLimit in EMIT FINAL statement for windowed aggregations
- Dominant language
- Java
- Stars
- 315
- Forks
- 1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 36
Description
It will be useful to add an option to the EMIT FINAL statement (or using other options as well) in order to use the `untilTimeLimit` instead of `untilWindowCloses` (the default value now, see #1030). This will allow the rate limiting of aggregation queries (es. calculating the average values over a time period).
Contributor guide
Research direction
Start by reading the EMIT FINAL statement behavior and the prior discussion in issue #1030, focusing on how untilWindowCloses is selected for windowed aggregations. Determine where untilTimeLimit could be specified and define completion by having aggregation queries honor that limit while preserving the existing default behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- databases, stream-processing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100