4paradigm / 4paradigm/OpenMLDB
Category aggregation functions
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
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_
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- sql
- Domaine
- backend, databases
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100