confluentinc / confluentinc/ksql

Allow using untilTimeLimit in EMIT FINAL statement for windowed aggregations

Open
#6,540 2 comments 1 reaction 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.