4paradigm / 4paradigm/OpenMLDB
long window: incorrect result for pure history window
- Lenguaje dominante
- C++
- Estrellas
- 1.7k
- Forks
- 331
- Merge medio
- 12 d 12 h
- PR fusionados (30 d)
- 1
Descripción
**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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- cpp
- Área
- databases
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100