apache / apache/datafusion-sqlparser-rs

Interest in partial parsing and sql formatting?

Ouverte
#1,392 13 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
3.5k
Forks
772
Merge moyen
4 j 9 h
PR mergées (30 j)
17

Description

Hello! I've been loving sqlparser-rs, I've been having a lot of fun using it with [a tool I've been working on recently](https://github.com/zmaril/bpfquery). As part of my work, I would like to do two things with sqlparser-rs that I don't think are supported right now. I'd like to be able to get a partial parse of a sql string back out, for use with code editors and text highlighting. Additionally, I would like to be able to format sql with my particular dialect as well eventually. Would you all be interested in me trying to contribute this back to the library somehow when I get around to it? Did I miss something somewhere hopefully? Thanks again for a great library.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

L’issue propose une analyse SQL partielle pour la coloration dans l’éditeur et un formatage SQL spécifique au dialecte, mais ne mentionne aucun fichier, test ou point d’entrée. Commencez par clarifier le périmètre prévu et examiner les interfaces d’analyse et de formatage ; la définition de terminé nécessiterait une conception approuvée et une prise en charge démontrable des fonctionnalités demandées.

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
30/100

Recevez les nouvelles issues par e-mail

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