apache / apache/datafusion-sqlparser-rs
Enable SQL features selectively
- Langage dominant
- Rust
- Étoiles
- 3.5k
- Forks
- 772
- Merge moyen
- 4 j 9 h
- PR mergées (30 j)
- 17
Description
Hello,
given the breadth of the parser, it would be nice if it would be possible to selectively enable features on an opt-in basis.
Let's imagine an application where only a subset of SQL is supported. In this case, the application would need to check for every possible unsupported feature manually (e.g. if I don't support windowing in queries, I would need to check if the `named_window` field in the `Select` gets populated and abort).
It would be interesting, instead, to decide beforehand which feature set is to be supported, so that only "valid" SQL gets parsed and arrives to the application.
Thanks.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
L’issue ne nomme aucun fichier, test ou point d’entrée. Commencez par localiser les points d’entrée de la gestion des fonctionnalités du parser et les tests existants du parser, puis définissez comment les ensembles de fonctionnalités pris en charge sont sélectionnés et comment le SQL non pris en charge est rejeté avant d’atteindre l’application.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- rust, sql
- Domaine
- compilers
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100