4paradigm / 4paradigm/OpenMLDB

Support rows_range Window to slide with determined order

Open
#1,144 0 comments 0 reactions 3 assignees Claimed by @jingchen2222 View on GitHub
enhancement
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**

OpenMLDB supports `ROWS_RANGE` syntax to define a window sliding by rows. However, when the dataset contains multiple rows sharing the same order value, the corresponding window rows will be variant since the random order of these rows.

In this issue, we are going to perform a window slide in a determined order so that the window and window aggregation results will be identical no matter how many times we perform window computation.

**Describe the solution you'd like**

- Assigned a determined row_id to the data rows
- Window slide based on the order column and the row_id automatically.
- ordered id should be associated with the online data coming order.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.