4paradigm / 4paradigm/OpenMLDB

Category aggregation functions

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

Descripción

For aggregation functions, there should be window functions (window only), as subset of aggregation functions, is not allowed to used without a window frame. E.g `select at(col, 0) from t2` is invalid.

_Originally posted by @aceforeverd in https://github.com/4paradigm/OpenMLDB/issues/3010#issuecomment-1413453073_

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

The issue references a comment from issue #3010 about window aggregation functions. Look for SQL parsing and validation code, likely where aggregation functions are defined and where window frame requirements are enforced. Test the invalid query `select at(col, 0) from t2` to see the current error, then modify validation to reject window-only aggregates without a frame. Check existing tests for aggregation or window functions to understand the expected behavior.

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

Evaluación

Stack tecnológico
sql
Área
backend, databases
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.