apache / apache/datafusion-sqlparser-rs

Interest in partial parsing and sql formatting?

オープン
#1,392 コメント 13 件 リアクション 3 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
3.5k
フォーク
772
平均マージ
4日 9時間
マージ済み PR(30日)
17

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

この issue は、エディターでのハイライト表示のための部分的な SQL 解析と、方言固有の SQL フォーマットを提案していますが、ファイル、テスト、エントリーポイントを指定していません。まず意図されたスコープを明確にし、パーサーとフォーマット処理の境界を確認してください。完了とみなすには、合意された設計と、要求された機能がサポートされていることを実証する必要があります。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust, sql
領域
compilers
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。