4paradigm / 4paradigm/OpenMLDB

long window: incorrect result for pure history window

オープン
#2,163 コメント 0 件 リアクション 0 件 担当者 1 名 @aceforeverd が担当を希望しています GitHub で見る
bug execute-engine
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

**Bug Description**

https://github.com/4paradigm/OpenMLDB/blob/b44617e0300fc2f2ca8ed6a8df5bd70d5a8c488d/hybridse/src/vm/runner.cc#L2915

current row always count into window agg even for pure history window

**Expected Behavior**

**Steps to Reproduce**

1.
2.
3.
4.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

The bug is in hybridse/src/vm/runner.cc at line 2915, where the current row is incorrectly counted in a pure history window aggregation. Start by examining the window aggregation logic around that line and the definition of a pure history window. Look for existing tests related to window functions to understand the expected behavior. Verify the fix by running relevant unit or integration tests in the codebase.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cpp
領域
databases
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。