4paradigm / 4paradigm/OpenMLDB

window project over limit clause is not supported

Ouverte
#2,457 2 commentaires 0 réactions 1 personne assignée Réclamée par @aceforeverd Voir sur GitHub
enhancement execute-engine
Langage dominant
C++
Étoiles
1.7k
Forks
331
Merge moyen
12 j 12 h
PR mergées (30 j)
1

Description

since fdfd1f29c6b0ed46a822afdd459ea17f567ccd66, window project over limit clause is not supported. Because `LimitTableHandler` is not seekable: https://github.com/4paradigm/OpenMLDB/blob/5ac4667d0e71dc803ddbd04928bc4681b5ba84b6/hybridse/src/vm/catalog_wrapper.h#L444-L448

This kind SQL might not correct.
```sql
select id, count(col) over w from (select * from t1 limit 10) window w as (....)
```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

The issue points to a specific commit and the LimitTableHandler in hybridse/src/vm/catalog_wrapper.h lines 444-448. First, understand why LimitTableHandler is not seekable and how it affects window functions over a LIMIT clause. Review the SQL example and the surrounding window function implementation. Check test files for window project and limit clause usage to see what 'done' looks like.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cpp, sql
Domaine
databases, machine-learning
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.