4paradigm / 4paradigm/OpenMLDB
long window: incorrect result for pure history window
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
**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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- cpp
- Ambito
- databases
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100