4paradigm / 4paradigm/OpenMLDB

long window: count where op with a rows bucket based pre-agg table may produce incorrect result

Abierto
#2,313 1 comentario 0 reacciones 1 asignado Reclamado por @aceforeverd Ver en GitHub
execute-engine storage-engine
Lenguaje dominante
C++
Estrellas
1.7k
Forks
331
Merge medio
12 d 12 h
PR fusionados (30 d)
1

Descripción

**Describe the feature you'd like**

```sql
deploy dp options (long_windows = 'w1:3')
select count_where(.....
```

`3` as a rows based bucket size, since there is a extra filter key for pre-agg table added, rows in pre-agg table, where their
ts_begin and ts_end value, are not aligned.

currently, this op (`*_where with rows bucket`) is turned off in #2255 -> compile time error

**Additional context**

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

The issue mentions a pre-aggregation table with misaligned timestamps causing incorrect results for count_where operations with row-based buckets. Start by examining the code changes in #2255 that disabled this operation. Look for the long window implementation and pre-agg table handling, particularly around filter keys and bucket alignment. Running existing tests related to long windows and pre-agg tables will help understand the failure.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
sql
Área
databases, machine-learning
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.